public FoodsUseCaseService(IFoodsRepository repository, IEventBus eventBus, IStateManager stateManager, IUnitofWork unitofWork)
 {
     this.repository   = repository;
     this.unitofWork   = unitofWork;
     this.eventBus     = eventBus;
     this.stateManager = stateManager;
 }
示例#2
0
 public FoodsEventHandler(IFoodsRepository repository, IEventBus eventBus, IStateManager stateManager, IUnitofWork unitofWork)
 {
     this.repository   = repository;
     this.unitofWork   = unitofWork;
     this.eventBus     = eventBus;
     this.stateManager = stateManager;
 }
示例#3
0
 public FoodsController(IFoodsRepository foodsRepository)
 {
     _foodsRepository = foodsRepository;
 }
示例#4
0
 public DetailsQueryHandler(IFoodsRepository foodsRepository) => this.foodsRepository = foodsRepository;
 public CartController(IFoodsRepository repo, IOrderProcessor proc)
 {
     repository     = repo;
     orderProcessor = proc;
 }
示例#6
0
 public EditPriceCommandHandler(IFoodsRepository foodsRepository, IMapper mapper)
 {
     this.foodsRepository = foodsRepository;
     this.mapper          = mapper;
 }
示例#7
0
 public AdminController(IFoodsRepository repo)
 {
     repository = repo;
 }
示例#8
0
 public BrandFoodsQueryHandler(IFoodsRepository foodsRepository) => this.foodsRepository = foodsRepository;
 public NavController(IFoodsRepository repo)
 {
     repository = repo;
 }