public dynamic deletebill(deletebill bill) { CommonOutput output = new CommonOutput(); string invono = bill.invoiceno; if (Session["UserName"] != null) { DashboardBL obj = new DashboardBL(); output = obj.deletebill(invono); return(Json(output, JsonRequestBehavior.AllowGet)); } else { return(RedirectToAction("Login", "Login")); } }