Пример #1
0
        public dynamic deletesubbill(deletebill bill)
        {
            CommonOutput output = new CommonOutput();
            string       invono = bill.invoiceno;

            if (Session["UserName"] != null)
            {
                DashboardBL obj = new DashboardBL();
                output = obj.deletesubbill(invono, bill.id);
                return(Json(output, JsonRequestBehavior.AllowGet));
            }
            else
            {
                return(RedirectToAction("Login", "Login"));
            }
        }