public async Task OnGet(Guid id, DateTime date, Guid createdBy)
        {
            MasterScheduleStandardViewModel = await _masterScheduleDataService.GetMasterScheduleById(id);

            NewScheduleDate  = date;
            MasterScheduleId = id;
            CreatedBy        = createdBy;
        }
Exemplo n.º 2
0
        public async Task OnGet(Guid id)
        {
            MasterScheduleStandardViewModel = await _masterScheduleDataService.GetMasterScheduleById(id);

            var result = MasterScheduleStandardViewModel.MasterIntervalStandardViewModels.OrderBy(e => e.StartTime).ToList();

            MasterScheduleStandardViewModel.MasterIntervalStandardViewModels = result;
        }