public async Task <ApiResponse <Location> > GetLocationResponseAsync(Locations location) { var apiResponse = await _restApiClient.GetApiResponseAsync <Location>(UrlPathBuilder.GetLocationUrl((int)location)); return(apiResponse); }
public async Task <IApiResponse <Location> > GetLocationResponseAsync(LocationsEnum locationEnum) { IApiResponse <Location> apiResponse = await RestApiClient.GetApiResponseAsync <Location>(UrlPathBuilder.GetLocationUrl((int)locationEnum)); return(apiResponse); }