public ActionResult ShowAllVoucherEntry()
        {
            BL_VoucherEntry db = new BL_VoucherEntry();

            return(new JsonResult {
                Data = db.SelectAllVoucherEntry(), JsonRequestBehavior = JsonRequestBehavior.AllowGet
            });
        }
        public ActionResult DeleteVoucher(int VoucharEntryID)
        {
            string del = "";

            VoucharEntryID = Convert.ToInt32(Request.Form["VoucharEntryID"]);
            BL_VoucherEntry questionhead1 = new BL_VoucherEntry();

            if (questionhead1.DeleteVoucherEntry(VoucharEntryID))
            {
                del = "Delete";
            }

            return(Json(del, JsonRequestBehavior.AllowGet));
        }