public void WhenIRetrieveALocationForId(string id) { var path = string.Format("locations/{0}", id); var response = APIHelpers.GetRequest <Location>(path, token); _scenarioContext["Response"] = response; }
public void WhenIRetrieveAllLocations() { var path = "locations"; var response = APIHelpers.GetRequest <List <Location> >(path, token); _scenarioContext["Response"] = response; }