Beispiel #1
0
 public AdminViewModel(DbContext context, RoomViewModel roomViewModel, ServiceTypeViewModel serviceTypeViewModel, EmployeeViewModel employeeViewModel)
 {
     this.context         = context;
     EmployeeViewModel    = employeeViewModel;
     RoomViewModel        = roomViewModel;
     ServiceTypeViewModel = serviceTypeViewModel;
 }
Beispiel #2
0
 public void Update()
 {
     RoomViewModel.OnUpdate(null, null);
     ServiceTypeViewModel.OnUpdate(null, null);
     EmployeeViewModel.OnUpdate(null, null);
 }