示例#1
0
        // 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());
        }
示例#2
0
        // 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());
        }