protected override async Task OnInitializedAsync() { appointmentUI = new AppointmentUI(AppointmentDataService, mapper, UserName); appointments = await appointmentUI.GetList(); ApptCount = appointments.Count(); }
protected override async Task OnInitializedAsync() { billUI = new BillUI(billDataService, mapper, ""); registerUI = new RegisterUI(clientDataService, credentialDataService, mapper); appointmentUI = new AppointmentUI(appointmentDataService, mapper, ""); procedureUI = new ProcedureUI(procedureDataService, mapper); //await PostToAppointments(); }