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

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

Returns the lessons of a week.
public GetLessonOfWeek ( ) : List
Результат List
        public List<LessonEditDto> GetLessonOfWeek()
        {
            this.SetResponseHeaderCacheExpiration();

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

            LessonServerService service = new LessonServerService();
            return service.GetLessonsOfWeek(accountId);
        }