public void AddEducationCredential() { DLModel.CertificateMessage = "testing dfg"; DLModel.AccreditorID = 6; DLModel.CredentialProgram = "test"; DLModel.CredentialUnit = 1; int result = _educationCredentialBL.AddEducationCredential(DLModel); Assert.IsTrue(result > 0, "Unable to Add"); }
//---education credential.. public int AddEducationCredential(DTO.EducationCredential educationCredential) { return(_educationCredential.AddEducationCredential(Mapper.Map <DTO.EducationCredential, HCRGUniversity.Core.Data.Model.EducationCredential>(educationCredential))); }