Example #1
0
        public ActionResult CategoryDelete(int categoryId, string description, int companyId, int userId)
        {
            var res = DocumentCategory.Delete(categoryId, companyId);

            if (res.Success)
            {
                Session["Company"] = new Company(companyId);
            }

            return(res);
        }