예제 #1
0
        public ActionResult DeleteCustomFieldTab(string customFieldTabId)
        {
            if (string.IsNullOrEmpty(customFieldTabId))
            {
                return(Json(new
                {
                    success = true,
                    response = "Could not delete the tab."
                }, JsonRequestBehavior.AllowGet));
            }
            DeleteCustomFieldTabRequest request = new DeleteCustomFieldTabRequest(int.Parse(customFieldTabId));

            customFieldService.DeleteCustomFieldTab(request);
            return(Json(new
            {
                success = true,
                response = ""
            }, JsonRequestBehavior.AllowGet));
        }