Example #1
0
 public DairyProductsController(IMapper mapper, IGenericRepository <DairyProduct> repository, Interfaces.IBuyItemService <DairyProduct> buyItemService) : base(mapper, repository, buyItemService)
 {
 }
 public VegetablesController(IMapper mapper, IGenericRepository <Vegetable> repository, Interfaces.IBuyItemService <Vegetable> buyItemService) : base(mapper, repository, buyItemService)
 {
 }
Example #3
0
 public ShopController(IMapper mapper, IGenericRepository <Shop> repository, Interfaces.IBuyItemService <Shop> buyItemService) : base(mapper, repository, buyItemService)
 {
 }
 public GenericControllerBase(IMapper mapper, IGenericRepository <TEntity> repository, Interfaces.IBuyItemService <TEntity> buyItemService)
 {
     _mapper         = mapper;
     _repository     = repository;
     _buyItemService = buyItemService;
 }
Example #5
0
 public FruitsController(IMapper mapper, IGenericRepository <Fruit> repository, Interfaces.IBuyItemService <Fruit> buyItemService) : base(mapper, repository, buyItemService)
 {
 }