C# Class BeerDrinkin.Services.BreweryDBService

Datei anzeigen Open project: MikeCodesDotNet/Beer-Drinkin

Public Methods

Method Description
BreweryDBService ( ) : System
GetBeer ( string id ) : Task
GetBrewery ( string id ) : Task
GetFeatured ( int takeCount = 10 ) : Task>
SearchBeers ( string searchTerm ) : Task>

Private Methods

Method Description
ToBeerDrinkin ( BreweryDB dbBeer ) : Beer
ToBeerDrinkin ( BreweryDB dbBrewery ) : Brewery

Method Details

BreweryDBService() public method

public BreweryDBService ( ) : System
return System

GetBeer() public method

public GetBeer ( string id ) : Task
id string
return Task

GetBrewery() public method

public GetBrewery ( string id ) : Task
id string
return Task

GetFeatured() public method

public GetFeatured ( int takeCount = 10 ) : Task>
takeCount int
return Task>

SearchBeers() public method

public SearchBeers ( string searchTerm ) : Task>
searchTerm string
return Task>