Exemplo n.º 1
0
 public AdminController(IBookRepository bookRepo, IUserRepository userRepo,
                        IOrderProcessorDb purchaseRepo, IDeliveryDetailsRepository deliveryDetailsRepo)
 {
     bookRepository            = bookRepo;
     userRepository            = userRepo;
     purchaseRepository        = purchaseRepo;
     deliveryDetailsRepository = deliveryDetailsRepo;
 }
Exemplo n.º 2
0
 public CartController(IBookRepository bookRepo, IOrderProcessor proc,
                       IDeliveryDetailsRepository delDetRepo, IOrderProcessorDb procDB, IUserRepository userRepo)
 {
     bookRepository            = bookRepo;
     deliveryDetailsRepository = delDetRepo;
     orderProcessor            = proc;
     orderProcessorDB          = procDB;
     userRepository            = userRepo;
 }
 public DeliveryDetailsService(IDeliveryDetailsRepository deliveryDetailsRepository,
     IChartOfProductRepository ChartOfProductRepository, IUnitOfMeasurementRepository UnitOfMeasurementRepository,
     IDeliveryRepository deliveryRepository, ISalesOrderDetailRepository salesOrderDetailRepository,
     IUnitOfWork unitOfWork)
 {
     this._DeliveryDetailsRepository = deliveryDetailsRepository;
     this._ChartOfProductRepository = ChartOfProductRepository;
     this._UnitOfMeasurementRepository = UnitOfMeasurementRepository;
     this._DeliveryRepository = deliveryRepository;
     this._salesOrderDetailRepository = salesOrderDetailRepository;
     this._UnitOfWork = unitOfWork;
 }