Ejemplo n.º 1
0
 public OrderModel(IMailer mailer)
 {
     _orderDataAccess  = new OrderDataAccess();
     _buyDataAccess    = new BuyDataAccess();
     _clientDataAccess = new ClientDataAccess();
     _orderHelper      = new OrderHelper(mailer);
 }
Ejemplo n.º 2
0
 public BuyModel()
 {
     _buyDataAccess    = new BuyDataAccess();
     _clientDataAccess = new ClientDataAccess();
     _orderDataAccess  = new OrderDataAccess();
     _orderModel       = new OrderModel();
     _buyHelper        = new BuyHelper();
 }
Ejemplo n.º 3
0
 public OrderModel()
 {
     _orderDataAccess = new OrderDataAccess();
     _orderHelper     = new OrderHelper();
 }