Пример #1
0
 public BulkSaleController()
 {
     _repository   = new Repository <BulkPurchase>();
     _model        = new BulkPurchaseViewModel().SetModel();
     _forexmodel   = new BulkPurchaseForexViewModel("bulksale");
     _paymentmodel = new BulkPurchasePaymentViewModel("bulksale");
 }
Пример #2
0
 public ActionResult Index()
 {
     BulkPurchaseForexViewModel.ClearSession();
     BulkPurchasePaymentViewModel.ClearSession();
     return(View(_model));
 }