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