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