Exemple #1
0
        public async Task <ApiResponse <Location> > GetLocationResponseAsync(Locations location)
        {
            var apiResponse = await _restApiClient.GetApiResponseAsync <Location>(UrlPathBuilder.GetLocationUrl((int)location));

            return(apiResponse);
        }
Exemple #2
0
        public async Task <IApiResponse <Location> > GetLocationResponseAsync(LocationsEnum locationEnum)
        {
            IApiResponse <Location> apiResponse = await RestApiClient.GetApiResponseAsync <Location>(UrlPathBuilder.GetLocationUrl((int)locationEnum));

            return(apiResponse);
        }