public IActionResult GetLatestLocationsForMember(Guid memberId) { return(Ok(_locationRecordRepository.GetLatestForMember(memberId))); }
public IActionResult GetLatestForMember(Guid memberId) { return(this.Ok(locationRepository.GetLatestForMember(memberId))); }
public ActionResult <LocationRecord> GetLatestForMember(Guid memberId) { return(locationRepository.GetLatestForMember(memberId)); }
public async Task <IActionResult> GetLatestForMember(Guid memberId) { LocationRecord result = await _locationRepository.GetLatestForMember(memberId); return(Ok(result)); }