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

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

Returns the lesson of a day to display.
public GetLessonOfDayToDisplay ( string id ) : List
id string The day identifier.
Результат List
        public List<LessonDisplayDto> GetLessonOfDayToDisplay(string id)
        {
            this.SetResponseHeaderCacheExpiration();

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

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