C# Class SchoolsNearMe.Controllers.Api.GeoLocationController

Inheritance: BaseApiController
Mostra file Open project: MrKevHunter/SchoolsNearMe

Private Properties

Property Type Description
GetIP4Address string

Public Methods

Method Description
GeoLocationController ( ILocationService locationService ) : System.Linq
Get ( ) : Coordinate

Private Methods

Method Description
GetIP4Address ( ) : string

Originally based on http://www.aspnet-answers.com/microsoft/ASP-NET/30078410/request-object.aspx

Method Details

GeoLocationController() public method

public GeoLocationController ( ILocationService locationService ) : System.Linq
locationService ILocationService
return System.Linq

Get() public method

public Get ( ) : Coordinate
return Coordinate