Example #1
0
 public QueryExecutor(DatabaseContext db,
                      UnitOfWork unitOfWork,
                      IServiceProvider serviceProvider,
                      IBoothRepository boothRepository,
                      IOrderRepository orderRepository,
                      IProductRepository productRepository)
 {
     _db                = db;
     _unitOfWork        = unitOfWork;
     _serviceProvider   = serviceProvider;
     _boothRepository   = boothRepository;
     _orderRepository   = orderRepository;
     _productRepository = productRepository;
 }
Example #2
0
 public BoothsController(IBoothRepository boothRepository)
 {
     _boothRepository = boothRepository;
 }