public IActionResult GetLocationsForMember(Guid memberId) { return(Ok(_locationRecordRepository.AllForMember(memberId))); }
public IActionResult GetLocationsForMember(Guid memberId) { return(this.Ok(locationRepository.AllForMember(memberId))); }
public ActionResult <IEnumerable <LocationRecord> > GetLocationsForMember(Guid memberId) { return(locationRepository.AllForMember(memberId).ToList()); }
public async Task <IActionResult> GetLocationsForMember(Guid memberId) { var result = await _locationRepository.AllForMember(memberId); return(Ok(result)); }