C# Class BistroDriveWebApp.Models.GeolocationRepository

Show file Open project: PI-13-5/BistroDriveWebApp

Public Methods

Method Description
GeolocationRepository ( BistroDriveEntities _context ) : System
GetAllCities ( ) : IEnumerable
GetCityById ( int id ) : city

Method Details

GeolocationRepository() public method

public GeolocationRepository ( BistroDriveEntities _context ) : System
_context BistroDriveEntities
return System

GetAllCities() public method

public GetAllCities ( ) : IEnumerable
return IEnumerable

GetCityById() public method

public GetCityById ( int id ) : city
id int
return city