protected override async Task OnInitializedAsync() { doctorUI = new DoctorUI(DoctorDataService); Doctors = await doctorUI.GetList(); messageUI = new MessageUI(MessageDataService, mapper, UserName); ResetDialog(); }
protected override async Task OnInitializedAsync() { scheduleUI = new ScheduleUI(ScheduleDataService, AppointmentDataService); doctorUI = new DoctorUI(DoctorDataService); queryParamsVM = scheduleUI.New(); Doctors = await doctorUI.GetList(); ResetDialog(); }