public async Task <LatestLocation> Add(LatestLocation latestLocation)
        {
            var result = await _latestLocationRepository.AddAsync(latestLocation);

            return(result);
        }
Beispiel #2
0
 public ParseError Label(string message)
 {
     return(new ParseError(LatestLocation.LiftM(location => Tuple.Create(location, message))
                           .ToEnumerable()));
 }