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