Пример #1
0
        public void AddCollegeEducation()
        {
            DLModel.CollegeID   = 4;
            DLModel.EducationID = 1;
            // DLModel.IsActive = true;
            int result = _educationBL.AddCollegeEducation(DLModel);

            Assert.IsTrue(result > 0, "Unable to Add");
        }
 //link college Education and education in collegeEduction table...hp
 public int AddCollegeEducation(CollegeEducation cEdu)
 {
     return(_education.AddCollegeEducation(Mapper.Map <DTO.CollegeEducation, HCRGUniversity.Core.Data.Model.CollegeEducation>(cEdu)));
 }