Esempio n. 1
0
 public HackerNewsService(HackerNewsClient client, HackerNewsDataContext context, IMapper mapper)
 {
     _client  = client;
     _context = context;
     _mapper  = mapper;
 }
 public HackerNewsServiceTest(IMapper mapper, HackerNewsDataContext context)
 {
     _mapper  = mapper;
     _context = context;
     _service = new HackerNewsService(new HackerNewsClient(client), _context, _mapper);
 }