Esempio n. 1
0
        public void UpdateEducationModuleFile()
        {
            BLModelModulfile.EducationModuleID     = 2;
            BLModelModulfile.ModuleFile            = "test module update";
            BLModelModulfile.FileTypeID            = 1;
            BLModelModulfile.EducationModuleFileID = 1;
            int result = _educationModuleFileBL.UpdateEducationModuleFile(BLModelModulfile);

            Assert.IsTrue(result > 0, "Unable to update");
        }
 public int UpdateEducationModuleFile(DTO.EducationModuleFile educationModuleFile)
 {
     return(_educationModuleFile.UpdateEducationModuleFile(Mapper.Map <DTO.EducationModuleFile, HCRGUniversity.Core.Data.Model.EducationModuleFile>(educationModuleFile)));
 }