C# Class cloudscribe.Core.Web.Components.GeoDataManager

Show file Open project: joeaudette/cloudscribe Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Add ( IGeoCountry geoCountry ) : Task
Add ( IGeoZone geoZone ) : Task
CountryAutoComplete ( string query, int maxRows ) : Task>
DeleteCountry ( IGeoCountry country ) : Task
DeleteGeoZone ( IGeoZone geoZone ) : Task
FetchCountry ( System.Guid guid ) : Task
FetchCountry ( string isoCode2 ) : Task
FetchGeoZone ( System.Guid guid ) : Task
GeoDataManager ( IGeoCommands geoCommands, IGeoQueries geoQueries, IHttpContextAccessor contextAccessor ) : cloudscribe.Core.Models.Geography
GetAllCountries ( ) : Task>
GetCountriesPage ( int pageNumber, int pageSize ) : Task>
GetCountryCount ( ) : Task
GetGeoZoneCount ( System.Guid countryGuid ) : Task
GetGeoZonePage ( System.Guid countryGuid, int pageNumber, int pageSize ) : Task>
GetGeoZonesByCountry ( System.Guid countryGuid ) : Task>
StateAutoComplete ( System.Guid countryGuid, string query, int maxRows ) : Task>
Update ( IGeoCountry geoCountry ) : Task
Update ( IGeoZone geoZone ) : Task

Method Details

Add() public method

public Add ( IGeoCountry geoCountry ) : Task
geoCountry IGeoCountry
return Task

Add() public method

public Add ( IGeoZone geoZone ) : Task
geoZone IGeoZone
return Task

CountryAutoComplete() public method

public CountryAutoComplete ( string query, int maxRows ) : Task>
query string
maxRows int
return Task>

DeleteCountry() public method

public DeleteCountry ( IGeoCountry country ) : Task
country IGeoCountry
return Task

DeleteGeoZone() public method

public DeleteGeoZone ( IGeoZone geoZone ) : Task
geoZone IGeoZone
return Task

FetchCountry() public method

public FetchCountry ( System.Guid guid ) : Task
guid System.Guid
return Task

FetchCountry() public method

public FetchCountry ( string isoCode2 ) : Task
isoCode2 string
return Task

FetchGeoZone() public method

public FetchGeoZone ( System.Guid guid ) : Task
guid System.Guid
return Task

GeoDataManager() public method

public GeoDataManager ( IGeoCommands geoCommands, IGeoQueries geoQueries, IHttpContextAccessor contextAccessor ) : cloudscribe.Core.Models.Geography
geoCommands IGeoCommands
geoQueries IGeoQueries
contextAccessor IHttpContextAccessor
return cloudscribe.Core.Models.Geography

GetAllCountries() public method

public GetAllCountries ( ) : Task>
return Task>

GetCountriesPage() public method

public GetCountriesPage ( int pageNumber, int pageSize ) : Task>
pageNumber int
pageSize int
return Task>

GetCountryCount() public method

public GetCountryCount ( ) : Task
return Task

GetGeoZoneCount() public method

public GetGeoZoneCount ( System.Guid countryGuid ) : Task
countryGuid System.Guid
return Task

GetGeoZonePage() public method

public GetGeoZonePage ( System.Guid countryGuid, int pageNumber, int pageSize ) : Task>
countryGuid System.Guid
pageNumber int
pageSize int
return Task>

GetGeoZonesByCountry() public method

public GetGeoZonesByCountry ( System.Guid countryGuid ) : Task>
countryGuid System.Guid
return Task>

StateAutoComplete() public method

public StateAutoComplete ( System.Guid countryGuid, string query, int maxRows ) : Task>
countryGuid System.Guid
query string
maxRows int
return Task>

Update() public method

public Update ( IGeoCountry geoCountry ) : Task
geoCountry IGeoCountry
return Task

Update() public method

public Update ( IGeoZone geoZone ) : Task
geoZone IGeoZone
return Task