コード例 #1
0
        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");
        }
コード例 #2
0
        //EducationModuleFile

        public int AddEducationModuleFile(DTO.EducationModuleFile educationModuleFile)
        {
            return(_educationModuleFile.AddEducationModuleFile(Mapper.Map <DTO.EducationModuleFile, HCRGUniversity.Core.Data.Model.EducationModuleFile>(educationModuleFile)));
        }