Пример #1
0
 public HrNewsDataService(IHrNewsRepository repo)
 {
     _repo = repo;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Host"/> class.
 /// </summary>
 /// <param name="service">
 /// HrNewsWebApiService used to retrieve HR news web API.
 /// </param>
 /// <param name="repo">
 /// HrNewsRepository used to store data into the Azure Table.
 /// </param>
 /// <param name="settings">
 /// HrNewsClientSettings used to supply limit of items to
 /// process per cycle.
 /// </param>
 public Host(IHrNewsWebApiService service, IHrNewsRepository repo, HrNewsClientSettings settings)
 {
     _service  = service;
     _repo     = repo;
     _settings = settings;
 }