C# 클래스 Bzs.Server.ServerService.LessonServerService

Represents a lesson server service.
상속: ServerServiceBase
파일 보기 프로젝트 열기: romankmueller/SchoolPlanner 1 사용 예제들

공개 메소드들

메소드 설명
DeleteLesson ( System.Guid id, System.Guid accountId ) : ResultDto

Deletes a lesson.

GetLesson ( System.Guid id, System.Guid accountId ) : LessonEditDto

Returns the lesson.

GetLessonsOfDay ( System.Guid dayId, System.Guid accountId ) : List

Returns the lessons of a day.

GetLessonsOfDayToDisplay ( System.Guid dayId, System.Guid accountId ) : List

Returns the lessons of a day to display.

GetLessonsOfWeek ( System.Guid accountId ) : List

Returns the lessons of the week.

InsertUpdateLesson ( LessonEditDto itemToSave, System.Guid accountId ) : ResultDto

Inserts or updates a lesson.

LessonServerService ( ) : System

Initializes a new instance of the LessonServerService class.

UpdateLesson ( LessonEditDto itemToSave, System.Guid accountId ) : ResultDto

Updates a lesson.

비공개 메소드들

메소드 설명
FillLessonEditDto ( LessonEditDto item, LessonEntity entity ) : LessonEditDto

Fills the lesson edit data transfer object.

메소드 상세

DeleteLesson() 공개 메소드

Deletes a lesson.
public DeleteLesson ( System.Guid id, System.Guid accountId ) : ResultDto
id System.Guid The lesson identifier.
accountId System.Guid The account identifier.
리턴 Bzs.Portable.DataTransferObjects.Base.ResultDto

GetLesson() 공개 메소드

Returns the lesson.
public GetLesson ( System.Guid id, System.Guid accountId ) : LessonEditDto
id System.Guid The lesson identifier.
accountId System.Guid The account identifier.
리턴 LessonEditDto

GetLessonsOfDay() 공개 메소드

Returns the lessons of a day.
public GetLessonsOfDay ( System.Guid dayId, System.Guid accountId ) : List
dayId System.Guid The day identifier.
accountId System.Guid The account identifier.
리턴 List

GetLessonsOfDayToDisplay() 공개 메소드

Returns the lessons of a day to display.
public GetLessonsOfDayToDisplay ( System.Guid dayId, System.Guid accountId ) : List
dayId System.Guid The day identifier.
accountId System.Guid The account identifier.
리턴 List

GetLessonsOfWeek() 공개 메소드

Returns the lessons of the week.
public GetLessonsOfWeek ( System.Guid accountId ) : List
accountId System.Guid The account identifier.
리턴 List

InsertUpdateLesson() 공개 메소드

Inserts or updates a lesson.
public InsertUpdateLesson ( LessonEditDto itemToSave, System.Guid accountId ) : ResultDto
itemToSave LessonEditDto The item to save.
accountId System.Guid The account identifier.
리턴 Bzs.Portable.DataTransferObjects.Base.ResultDto

LessonServerService() 공개 메소드

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

UpdateLesson() 공개 메소드

Updates a lesson.
public UpdateLesson ( LessonEditDto itemToSave, System.Guid accountId ) : ResultDto
itemToSave LessonEditDto The item to save.
accountId System.Guid The account identifier.
리턴 Bzs.Portable.DataTransferObjects.Base.ResultDto