public ActionResult DeleteNewsCategory(string id) { var user = _userContextAccessor.GetContext(); try { _NewsManager.DeleteNewsCategory(id); } catch (Exception ex) { return(BadRequest(ex)); } return(Ok()); }
public ActionResult DeleteNewsCategory(string id) { var user = _userContextAccessor.GetContext(); try { _NewsManager.DeleteNewsCategory(id); } catch (Exception ex) { return(BadRequest(ex)); } return(Ok()); }