// End Return Sale Part // public ActionResult DemurageSale() { SaleBLL objSaleBLL = new SaleBLL(); List <CustomerDetail> CustomerNameList = objSaleBLL.GetAllCustomerName(); ViewBag.CustomerNameList = CustomerNameList; ProductBLL objProductBll = new ProductBLL(); List <Product> ProductList = objProductBll.GetAllProduct(); ViewBag.productList = ProductList; return(View()); }
// GET: Sale/Sale public ActionResult Index() { SaleBLL objSaleBLL = new SaleBLL(); List <CustomerDetail> CustomerNameList = objSaleBLL.GetAllCustomerName(); ViewBag.CustomerNameList = CustomerNameList; TruckDetailBLL objTruckDetailBLL = new TruckDetailBLL(); List <TruckDetail> truckDetailList = objTruckDetailBLL.GetAllTruckDetail(); ViewBag.truckList = truckDetailList; return(View()); }