Example #1
0
 public async Task <ShamGeoResults> SetLatLong(ShamGeoResults result)
 {
     result.Result    = true;
     result.Message   = "succesfuly obtained location";
     result.Longitude = 44.444444;
     result.Latitude  = 55.555555;
     return(result);
 }
Example #2
0
        public async Task <ShamGeoResults> DetermineLocation(Stop stop)
        {
            var result = new ShamGeoResults()
            {
                Result  = false,
                Message = "could not be found",
            };

            result = await SetLatLong(result);

            return(result);
        }