public ActionResult AddOrEditRFQ(int id = 0) { RFQVM rfqVM = new RFQVM(); RFQDetailsVM rfqdt = new RFQDetailsVM(); rfqVM._RFQDetailsVM = rfqdt; ViewBag.supplierList = dropDown.DDLGetSuppliers(); //ViewBag.ItemList = DropDownLists.DDLGetItems(); ViewBag.UnitList = dropDown.DDLGetUnits(); ViewBag.TaxList = dropDown.DDLGetTax(); ViewBag.message = ""; if (id == 0) { return(PartialView(rfqVM)); } else { return(PartialView(rfqVM)); } }
public ActionResult GetTaxList() { return(Json(dropDown.DDLGetTax(), JsonRequestBehavior.AllowGet)); }