コード例 #1
0
        public ActionResult DeleteNewsCategory(string id)
        {
            var user = _userContextAccessor.GetContext();

            try
            {
                _NewsManager.DeleteNewsCategory(id);
            }
            catch (Exception ex)
            {
                return(BadRequest(ex));
            }

            return(Ok());
        }