Esempio n. 1
0
        public JsonResult Delete(int id)
        {
            bool isSuccess = false;

            try
            {
                deptService.DeleteSingleDept(id);
                isSuccess = true;
            }
            catch (Exception ex)
            {
                Logger.Error(ex);
            }

            return(Json(isSuccess));
        }