public ActionResult Deactive(MenuViewModel model) { var userid = (long)Session["userid"]; ResponResultViewModel result = MenuRepo.Deactive(model, userid); return(Json(new { success = result.Success, message = result.Message, entity = result.Entity }, JsonRequestBehavior.AllowGet)); }