Exemplo n.º 1
0
 public RefundDetailService(
     RefundDetailRepository refundDetailRepository,
     OrderService orderService,
     OrderDetailRepository orderDetailRepository,
     TicketTestingRepository ticketTestingRepository,
     TicketRepository ticketRepository)
 {
     _refundDetailRepository  = refundDetailRepository;
     _orderService            = orderService;
     _orderDetailRepository   = orderDetailRepository;
     _ticketTestingRepository = ticketTestingRepository;
     _ticketRepository        = ticketRepository;
 }
Exemplo n.º 2
0
 public UnitOfWork(IorwoodDbContext context)
 {
     _context        = context;
     Category        = new CategoryRepository(_context);
     Extra           = new ExtraRepository(_context);
     Unit            = new UnitRepository(_context);
     Product         = new ProductRepository(_context);
     OrderHeader     = new OrderHeaderRepository(_context);
     OrderDetails    = new OrderDetailsRepository(_context);
     StockRepository = new StockRepository(_context);
     RefundHeader    = new RefundHeaderRepository(_context);
     RefundDetail    = new RefundDetailRepository(_context);
     CurrentMovement = new CurrentMovementRepositroy(_context);
     AccountingBook  = new AccountingBookRepository(_context);
     UserApplication = new UserApplicationRepository(_context);
 }
Exemplo n.º 3
0
 public RefundDetailService(RefundDetailRepository refundDetailRepository)
 {
     _refundDetailRepository = refundDetailRepository;
 }