示例#1
0
 public VisitController(IVisitData visitData, ICustomerData customerData, IShopItemRepository shopItemRepository, VisitBl visitBl)
 {
     this.visitData          = visitData;
     this.customerData       = customerData;
     this.shopItemRepository = shopItemRepository;
     this.visitBl            = visitBl;
 }
 public GetShopItemsListByCategoryQuery(IShopItemRepository shopItemRepository,
                                        IMapper mapper)
 {
     _shopItemRepository = shopItemRepository;
     _mapper             = mapper;
 }
示例#3
0
 public ShopItemsController(IShopItemRepository repo)
 {
     repository = repo;
 }
示例#4
0
 public ShopItemController(IShopItemRepository repo, IWebHostEnvironment webHostEnvironment)
 {
     _repo = repo;
     _webHostEnvironment = webHostEnvironment;
 }