public void AddEducationModuleFile() { BLModelModulfile.EducationModuleID = 2; BLModelModulfile.ModuleFile = "test module"; BLModelModulfile.FileTypeID = 1; int result = _educationModuleFileBL.AddEducationModuleFile(BLModelModulfile); Assert.IsTrue(result > 0, "Unable to Add"); }
//EducationModuleFile public int AddEducationModuleFile(DTO.EducationModuleFile educationModuleFile) { return(_educationModuleFile.AddEducationModuleFile(Mapper.Map <DTO.EducationModuleFile, HCRGUniversity.Core.Data.Model.EducationModuleFile>(educationModuleFile))); }