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