C# 클래스 Bzs.Server.CloudServices.AppService

Represents an application service.
상속: IAppService
파일 보기 프로젝트 열기: romankmueller/SchoolPlanner

공개 메소드들

메소드 설명
AppService ( ) : System

Initializes a new instance of the AppService class.

DeleteLesson ( IdDto idToDelete ) : ResultDto

Deletes a lesson.

DeleteRoom ( IdDto idToDelete ) : ResultDto

Deletes a room.

DeleteSubject ( IdDto idToDelete ) : ResultDto

Deletes a subject.

DeleteTeacher ( IdDto idToDelete ) : ResultDto

Deletes a teacher.

GetDayLookup ( ) : List

Returns the day lookup.

GetLesson ( string id ) : LessonEditDto

Returns the lesson.

GetLessonOfDay ( string id ) : List

Returns the lessons of a day.

GetLessonOfDayToDisplay ( string id ) : List

Returns the lesson of a day to display.

GetLessonOfWeek ( ) : List

Returns the lessons of a week.

GetRoomLookup ( ) : List

Returns the room lookup.

GetSubjectLookup ( ) : List

Returns the subject lookup.

GetTeacherLookup ( ) : List

Returns the teacher lookup.

InsertLesson ( LessonEditDto itemToSave ) : ResultDto

Inserts a lesson.

InsertRoom ( RoomEditDto itemToSave ) : ResultDto

Inserts a room.

InsertSubject ( SubjectEditDto itemToSave ) : ResultDto

Inserts a subject.

InsertTeacher ( TeacherEditDto itemToSave ) : ResultDto

Inserts a teacher.

Login ( ) : LoginResultDto

Login to the application.

Ping ( ) : bool

Returns a ping.

Register ( RegisterDto data ) : ResultDto

Represents a register service.

RetrieveCredentials ( RetrievePasswordDto request ) : void

Retrieves the credentials.

UpdateLesson ( LessonEditDto itemToSave ) : ResultDto

Updates a lesson.

UpdateRoom ( RoomEditDto itemToSave ) : ResultDto

Updates a room.

UpdateSubject ( SubjectEditDto itemToSave ) : ResultDto

Updates a subject.

UpdateTeacher ( TeacherEditDto itemToSave ) : ResultDto

Updates a teacher.

비공개 메소드들

메소드 설명
GetCredentialsFromRequest ( ) : AccountPassword

Returns the credentials from the request.

SetResponseHeaderCacheExpiration ( int minutesOfExpiration = -1 ) : void

Sets the response header cache expiration.

메소드 상세

AppService() 공개 메소드

Initializes a new instance of the AppService class.
public AppService ( ) : System
리턴 System

DeleteLesson() 공개 메소드

Deletes a lesson.
public DeleteLesson ( IdDto idToDelete ) : ResultDto
idToDelete IdDto The identifier.
리턴 Bzs.Portable.DataTransferObjects.Base.ResultDto

DeleteRoom() 공개 메소드

Deletes a room.
public DeleteRoom ( IdDto idToDelete ) : ResultDto
idToDelete IdDto The identifier.
리턴 Bzs.Portable.DataTransferObjects.Base.ResultDto

DeleteSubject() 공개 메소드

Deletes a subject.
public DeleteSubject ( IdDto idToDelete ) : ResultDto
idToDelete IdDto The identifier.
리턴 Bzs.Portable.DataTransferObjects.Base.ResultDto

DeleteTeacher() 공개 메소드

Deletes a teacher.
public DeleteTeacher ( IdDto idToDelete ) : ResultDto
idToDelete IdDto The identifier.
리턴 Bzs.Portable.DataTransferObjects.Base.ResultDto

GetDayLookup() 공개 메소드

Returns the day lookup.
public GetDayLookup ( ) : List
리턴 List

GetLesson() 공개 메소드

Returns the lesson.
public GetLesson ( string id ) : LessonEditDto
id string The identifier.
리턴 LessonEditDto

GetLessonOfDay() 공개 메소드

Returns the lessons of a day.
public GetLessonOfDay ( string id ) : List
id string The day identifier.
리턴 List

GetLessonOfDayToDisplay() 공개 메소드

Returns the lesson of a day to display.
public GetLessonOfDayToDisplay ( string id ) : List
id string The day identifier.
리턴 List

GetLessonOfWeek() 공개 메소드

Returns the lessons of a week.
public GetLessonOfWeek ( ) : List
리턴 List

GetRoomLookup() 공개 메소드

Returns the room lookup.
public GetRoomLookup ( ) : List
리턴 List

GetSubjectLookup() 공개 메소드

Returns the subject lookup.
public GetSubjectLookup ( ) : List
리턴 List

GetTeacherLookup() 공개 메소드

Returns the teacher lookup.
public GetTeacherLookup ( ) : List
리턴 List

InsertLesson() 공개 메소드

Inserts a lesson.
public InsertLesson ( LessonEditDto itemToSave ) : ResultDto
itemToSave LessonEditDto The item to save.
리턴 Bzs.Portable.DataTransferObjects.Base.ResultDto

InsertRoom() 공개 메소드

Inserts a room.
public InsertRoom ( RoomEditDto itemToSave ) : ResultDto
itemToSave Bzs.Portable.DataTransferObjects.Room.RoomEditDto The item to save.
리턴 Bzs.Portable.DataTransferObjects.Base.ResultDto

InsertSubject() 공개 메소드

Inserts a subject.
public InsertSubject ( SubjectEditDto itemToSave ) : ResultDto
itemToSave Bzs.Portable.DataTransferObjects.Subject.SubjectEditDto The item to save.
리턴 Bzs.Portable.DataTransferObjects.Base.ResultDto

InsertTeacher() 공개 메소드

Inserts a teacher.
public InsertTeacher ( TeacherEditDto itemToSave ) : ResultDto
itemToSave Bzs.Portable.DataTransferObjects.Teacher.TeacherEditDto The item to save.
리턴 Bzs.Portable.DataTransferObjects.Base.ResultDto

Login() 공개 메소드

Login to the application.
public Login ( ) : LoginResultDto
리턴 Bzs.Portable.DataTransferObjects.Authentication.LoginResultDto

Ping() 공개 메소드

Returns a ping.
public Ping ( ) : bool
리턴 bool

Register() 공개 메소드

Represents a register service.
public Register ( RegisterDto data ) : ResultDto
data Bzs.Portable.DataTransferObjects.Account.RegisterDto The data to register.
리턴 Bzs.Portable.DataTransferObjects.Base.ResultDto

RetrieveCredentials() 공개 메소드

Retrieves the credentials.
public RetrieveCredentials ( RetrievePasswordDto request ) : void
request Bzs.Portable.DataTransferObjects.Account.RetrievePasswordDto The retrieve credentials request.
리턴 void

UpdateLesson() 공개 메소드

Updates a lesson.
public UpdateLesson ( LessonEditDto itemToSave ) : ResultDto
itemToSave LessonEditDto The item to save.
리턴 Bzs.Portable.DataTransferObjects.Base.ResultDto

UpdateRoom() 공개 메소드

Updates a room.
public UpdateRoom ( RoomEditDto itemToSave ) : ResultDto
itemToSave Bzs.Portable.DataTransferObjects.Room.RoomEditDto The item to save.
리턴 Bzs.Portable.DataTransferObjects.Base.ResultDto

UpdateSubject() 공개 메소드

Updates a subject.
public UpdateSubject ( SubjectEditDto itemToSave ) : ResultDto
itemToSave Bzs.Portable.DataTransferObjects.Subject.SubjectEditDto The item to save.
리턴 Bzs.Portable.DataTransferObjects.Base.ResultDto

UpdateTeacher() 공개 메소드

Updates a teacher.
public UpdateTeacher ( TeacherEditDto itemToSave ) : ResultDto
itemToSave Bzs.Portable.DataTransferObjects.Teacher.TeacherEditDto The item to save.
리턴 Bzs.Portable.DataTransferObjects.Base.ResultDto