Пример #1
0
 public int AddTrainingAndSeminar(DLModel.TrainingAndSeminar _trainingAndSeminar)
 {
     return(_trainingAndSeminarRepository.Add((DLModel.TrainingAndSeminar) new DLModel.TrainingAndSeminar().InjectFrom(_trainingAndSeminar)).TrainingAndSeminarID);
 }
Пример #2
0
 public int UpdateTrainingAndSeminar(DLModel.TrainingAndSeminar _trainingAndSeminar)
 {
     return(_trainingAndSeminarRepository.Update((DLModel.TrainingAndSeminar) new DLModel.TrainingAndSeminar().InjectFrom(_trainingAndSeminar)));
 }
Пример #3
0
 public void GetTrainingAndSeminar()
 {
     DLModel.TrainingAndSeminar _gettrainingAndSeminar = _resourseBL.GetTrainingAndSeminarAll(1);
     Assert.IsTrue(_gettrainingAndSeminar != null, "Unable to get");
 }