public UnitOfWork(RssContext rssContext) { _rssContext = rssContext; NewsPostRepository = new NewsPostRepository(rssContext); FeedList = new FeedRepository(rssContext); ItemListRepository = new ItemListRepository(rssContext); }
public ItemListService(DataBaseContext db) { itemListRepo = new ItemListRepository(db); }
public ReportsController(IRecipeService recipeService, IIngredientsRepository ingredientsRepository, IItemListRepository itemListRepository) { _recipeService = recipeService; _ingredientsRepository = ingredientsRepository; _itemListRepository = itemListRepository; }
public RedaService(IItemListRepository itemListRepository, IMapper mapper) { _itemListRepository = itemListRepository; _map = mapper; }