// GET api/<controller> public DayInfo Get() { string location = "Wellington"; int daysAway = 0; WeatherAccessor accessor = new WeatherAccessor(); return(accessor.GetDayInfo()); }
public void TestGetDayInfo() { DayInfo dayInfo = accessor.GetDayInfo(); Assert.IsNotNull(dayInfo); }