public void UpdateEducationCredential() { DLModel.CertificateMessage = "testing"; DLModel.AccreditorID = 6; DLModel.CredentialProgram = "test"; DLModel.CredentialUnit = 1; DLModel.CredentialID = 2; int result = _educationCredentialBL.UpdateEducationCredential(DLModel); Assert.IsTrue(result > 0, "Unable to update"); }
public int UpdateEducationCredential(DTO.EducationCredential educationCredential) { return(_educationCredential.UpdateEducationCredential(Mapper.Map <DTO.EducationCredential, HCRGUniversity.Core.Data.Model.EducationCredential>(educationCredential))); }