public void AddEducationType() { DLModelEdutype.EducationTypeID = 1; DLModelEdutype.EducationID = 1; DLModelEdutype.Price = 12; int result = _educationBL.AddEducationType(DLModelEdutype); Assert.IsTrue(result > 0, "Unable to Add"); }
//add education type....hp public int AddEducationType(DTO.EducationTypesAvailable educationTypesAvailable) { return(_education.AddEducationType(Mapper.Map <DTO.EducationTypesAvailable, HCRGUniversity.Core.Data.Model.EducationTypesAvailable>(educationTypesAvailable))); }