Пример #1
0
 public GetOFFDataRequestHandler(IOFFDataRepository oFFDataRepository, IOFFCategoryRepository oFFCategoryRepository, IOFFDatasCategoryRepository oFFDatasCategoryRepository, string barcode)
 {
     _barcode                    = barcode;
     _OFFDataRepository          = oFFDataRepository;
     _OFFCategoryRepository      = oFFCategoryRepository;
     _OFFDatasCategoryRepository = oFFDatasCategoryRepository;
 }
Пример #2
0
 public OFFDatasCategoryRepository(IOFFDataRepository oFFDataRepository, IOFFCategoryRepository oFFCategoryRepository, Model.levelupContext context, ILogger <OFFDatasCategoryRepository> logger, IMapper mapper)
     : base(context, context.OpenFoodFactsDatasCategories, logger, mapper)
 {
     _oFFDataRepository     = oFFDataRepository;
     _oFFCategoryRepository = oFFCategoryRepository;
 }
 public OpenFoodFactsDatasController(IOFFDatasCategoryRepository oFFDataCategoryRepository, IOFFCategoryRepository oFFCategoryRepository, IOFFDataRepository oFFDataRepository)
 {
     _oFFDataCategoryRepository = oFFDataCategoryRepository;
     _oFFCategoryRepository     = oFFCategoryRepository;
     _oFFDataRepository         = oFFDataRepository;
 }