public FavouriteWeatherInfoUseCase(IAppRestService appRestService = null, IFavouriteWeatherInfo favouriteWeatherInfo = null) { _favouriteWeatherInfo = favouriteWeatherInfo ?? Locator.Current.GetService <IFavouriteWeatherInfo>(); _appRestService = appRestService ?? Locator.Current.GetService <IAppRestService>(); }
public AppManager(IAppRestService service) { restService = service; Apps = new List <AppModel>(); WhiteList = new List <string>(); }