Esempio n. 1
0
        public void AddEducationModule()
        {
            BLModel.EducationID                = 559;
            BLModel.EducationModuleName        = "test module timer null";
            BLModel.EducationModuleTime        = null;
            BLModel.EducationModuleDate        = DateTime.Now;
            BLModel.EducationModulePosition    = 3;
            BLModel.EducationModuleDescription = "Test desc";
            int result = _educationModuleBL.AddEducationModule(BLModel);

            Assert.IsTrue(result > 0, "Unable to Add");
        }
 public int AddEducationModule(DTO.EducationModule educationModule)
 {
     return(_educationModule.AddEducationModule(Mapper.Map <DTO.EducationModule, HCRGUniversity.Core.Data.Model.EducationModule>(educationModule)));
 }