Method | Description | |
---|---|---|
DeleteLesson ( System.Guid id, System.Guid accountId ) : |
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 ) : |
Inserts or updates a lesson.
|
|
LessonServerService ( ) : System |
Initializes a new instance of the LessonServerService class.
|
|
UpdateLesson ( LessonEditDto itemToSave, System.Guid accountId ) : |
Updates a lesson.
|
Method | Description | |
---|---|---|
FillLessonEditDto ( LessonEditDto item, |
Fills the lesson edit data transfer object.
|
public DeleteLesson ( System.Guid id, System.Guid accountId ) : |
||
id | System.Guid | The lesson identifier. |
accountId | System.Guid | The account identifier. |
return |
public GetLesson ( System.Guid id, System.Guid accountId ) : LessonEditDto | ||
id | System.Guid | The lesson identifier. |
accountId | System.Guid | The account identifier. |
return | LessonEditDto |
public GetLessonsOfDay ( System.Guid dayId, System.Guid accountId ) : List |
||
dayId | System.Guid | The day identifier. |
accountId | System.Guid | The account identifier. |
return | List |
public GetLessonsOfDayToDisplay ( System.Guid dayId, System.Guid accountId ) : List |
||
dayId | System.Guid | The day identifier. |
accountId | System.Guid | The account identifier. |
return | List |
public GetLessonsOfWeek ( System.Guid accountId ) : List |
||
accountId | System.Guid | The account identifier. |
return | List |
public InsertUpdateLesson ( LessonEditDto itemToSave, System.Guid accountId ) : |
||
itemToSave | LessonEditDto | The item to save. |
accountId | System.Guid | The account identifier. |
return |
public UpdateLesson ( LessonEditDto itemToSave, System.Guid accountId ) : |
||
itemToSave | LessonEditDto | The item to save. |
accountId | System.Guid | The account identifier. |
return |