Ejemplo n.º 1
0
        public void AddTrainingAndSeminar()
        {
            BLModel_TAS.TrainingAndSeminarDesc = "TrainingAndSeminarDesc";
            int result = _resourseBL.AddTrainingAndSeminar(BLModel_TAS);

            Assert.IsTrue(result > 0, "Unable to Add");
        }
 public int AddTrainingAndSeminar(DTO.TrainingAndSeminar _trainingAndSeminar)
 {
     return(_resource.AddTrainingAndSeminar(Mapper.Map <DTO.TrainingAndSeminar, HCRGUniversity.Core.Data.Model.TrainingAndSeminar>(_trainingAndSeminar)));
 }