public JsonResult updateAuth(UserAuth userauth) { bool res = UserAuthService.EditEntity(userauth); return(Json(res, JsonRequestBehavior.AllowGet)); }