public void AddSkillCategory(CoreSkillCategory Entity) { try { _coreKbSkillCategoryRepository.Insert(Entity); } catch (Exception e) { throw new IntegratorException("Error Adding Skill Caegory.", e.InnerException); } }
public IActionResult AddSkillCategory([FromBody] DropDownRequest model) { var _Entity = new CoreSkillCategory() { CoreKbSkillTypeID = model.ID, CoreSkillCategoryName = model.TEXT }; _coreKnowledgeBaseService.AddSkillCategory(_Entity); // return Json(new SelectList(cboOptions, "CoreSkillCategoryID", "CoreSkillCategoryName")); return(Json(_Entity)); }
public bool DeleteSkillCategory(CoreSkillCategory Entity) { throw new NotImplementedException(); }