Exemplo n.º 1
0
 public WeatherHistoryService(IWeatherHistoryRepository _weatherHistoryRepository, IAuthRepository _authRepository, IPaginationService <WeatherHistory> _paginationService)
 {
     weatherHistoryRepository = _weatherHistoryRepository;
     authRepository           = _authRepository;
     paginationService        = _paginationService;
 }
Exemplo n.º 2
0
 public FavoritesService(IFavoriteRepository _repo, IWeatherHistoryRepository _historyRepository)
 {
     favoriteRepository       = _repo;
     weatherHistoryRepository = _historyRepository;
 }