Пример #1
0
 public async Task <Country> CreateCountry(Country country)
 {
     return(await ApiInvoker.Create(Constants.ApiEndpointKey, Routes.CountryV1BaseRoute, country));
 }
Пример #2
0
 public async Task <BusinessComponent> CreateBusinessComponent(BusinessComponent businessComponent)
 {
     return(await ApiInvoker.Create(Constants.BusinessComponentsEndpointKey, Constants.BaseBusinessComponentsRoutePrefix, businessComponent));
 }
 public async Task <CountrySubdivision> CreateCountrySubdivision(CountrySubdivision countrySubdivision)
 {
     return(await ApiInvoker.Create(Constants.ApiEndpointKey, Routes.CountrySubdivisionV1BaseRoute, countrySubdivision));
 }