public OrderModel(IMailer mailer)
 {
     _orderDataAccess  = new OrderDataAccess();
     _buyDataAccess    = new BuyDataAccess();
     _clientDataAccess = new ClientDataAccess();
     _orderHelper      = new OrderHelper(mailer);
 }
Exemple #2
0
 public BuyModel()
 {
     _buyDataAccess    = new BuyDataAccess();
     _clientDataAccess = new ClientDataAccess();
     _orderDataAccess  = new OrderDataAccess();
     _orderModel       = new OrderModel();
     _buyHelper        = new BuyHelper();
 }
Exemple #3
0
 public OrderModel()
 {
     _orderDataAccess = new OrderDataAccess();
     _orderHelper     = new OrderHelper();
 }