public dynamic savebp11edit(savebp1model req) { CommonOutput output = new CommonOutput(); if (Session["UserName"] != null) { DashboardBL bl = new DashboardBL(); output = bl.savebp1edit(req); } else { return(RedirectToAction("Login", "Login")); } return(Json(output, JsonRequestBehavior.AllowGet)); }