Bzs.Server.CloudServices.AppService.GetLessonOfDay C# (CSharp) Метод

GetLessonOfDay() публичный Метод

Returns the lessons of a day.
public GetLessonOfDay ( string id ) : List
id string The day identifier.
Результат List
        public List<LessonEditDto> GetLessonOfDay(string id)
        {
            this.SetResponseHeaderCacheExpiration();

            AccountPassword credentials = this.GetCredentialsFromRequest();
            AccountServerService accountService = new AccountServerService();
            Guid accountId = accountService.GetAccountId(credentials.Account);

            LessonServerService service = new LessonServerService();
            return service.GetLessonsOfDay(new Guid(id), accountId);
        }