Example #1
0
 /// <summary>
 /// Resolves the given location search term and creates a new weather report if the location could be resolved.
 /// Returns the weather report to the caller.
 /// </summary>
 public async Task <WeatherReport> CreateReportFromLocation(string _location)
 {
     return(await WeatherReport.FromLocation(_location, authorizationProvider));
 }
Example #2
0
 /// <summary>
 /// Creates a new weather report and returns it to the caller.
 /// </summary>
 public WeatherReport CreateReport(string _woeid)
 {
     return(WeatherReport.FromWoeid(_woeid, authorizationProvider));
 }