public dynamic addeditbillingprod(billingprodedit data) { if (Session["UserName"] != null) { CommonOutput output = new CommonOutput(); DashboardBL obj = new DashboardBL(); output = obj.addeditbillingprod(data); return(Json(output, JsonRequestBehavior.AllowGet)); } else { return(RedirectToAction("Login", "Login")); } }