Ejemplo n.º 1
0
 public RegularTeachingViewModel(RegularTeachingBussiness bussiness)
 {
     _bussiness       = bussiness;
     ClassList        = new RegularClassListViewModel(bussiness.RegularClasses);
     ClassOperation   = new RegularClassOperationViewModel(bussiness.RegularClassOperation);
     TraineeList      = new RegularTraineeListViewModel(bussiness.RegularTrainee);
     TraineeOperation = new RegularTraineeOperationViewModel(bussiness.TraineeManagement, bussiness.RegularTrainee.TraineeOperation, bussiness.RegularClasses);
 }
 public BlockTeachingViewModel(BlockTeachingBussiness bussiness)
 {
     _bussiness       = bussiness;
     ClassList        = new BlockClassListViewModel(bussiness.BlockClasses);
     ClassOperation   = new BlockClassOperationViewModel(bussiness.BlockClassOperation);
     TraineeList      = new BlockTraineeListViewModel(bussiness.BlockTrainee);
     TraineeOperation = new BlockTraineeOperationViewModel(bussiness.TraineeManagement, bussiness.BlockTrainee.TraineeOperation, bussiness.BlockClasses);
 }