public void AddEducationProfession() { DLModel.EducationID = 1; DLModel.ProfessionID = 1; int result = _educationProfessionBL.AddEducationProfession(DLModel); Assert.IsTrue(result > 0, "Unable to Add"); }
//education profession table link methods...hp public int AddEducationProfession(EducationProfession educationProfession) { return(_educationProfession.AddEducationProfession(Mapper.Map <DTO.EducationProfession, HCRGUniversity.Core.Data.Model.EducationProfession>(educationProfession))); }