public void AddIndustry(CoreKbIndustry Entity)
 {
     try
     {
         _coreKbIndustryRepository.Insert(Entity);
     }
     catch (Exception e)
     {
         throw new IntegratorException("Error Adding Industry.", e.InnerException);
     }
 }
        public IActionResult AddIndusrty([FromBody] DropDownRequest model)
        {
            var entity = new CoreKbIndustry()
            {
                CoreKbIndustryName       = model.TEXT,
                CoreKbIndustryCategoryID = model.ID
            };

            try
            {
                _coreKnowledgeBaseService.AddIndustry(entity);
            }
            catch (IntegratorException e)
            {
                throw e.InnerException;
            }


            return(Json(entity));
        }
 public bool DeleteIndustry(CoreKbIndustry Entity)
 {
     throw new NotImplementedException();
 }