public RefundDetailService( RefundDetailRepository refundDetailRepository, OrderService orderService, OrderDetailRepository orderDetailRepository, TicketTestingRepository ticketTestingRepository, TicketRepository ticketRepository) { _refundDetailRepository = refundDetailRepository; _orderService = orderService; _orderDetailRepository = orderDetailRepository; _ticketTestingRepository = ticketTestingRepository; _ticketRepository = ticketRepository; }
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); }
public RefundDetailService(RefundDetailRepository refundDetailRepository) { _refundDetailRepository = refundDetailRepository; }