public async Task <MeetLocationResponse> GetMeetLocation(MeetLocationRequest request) { var responseDevices = GetUserLocations(request.TargetDeviceIds).ToArray(); return(new MeetLocationResponse() { CurrentLocation = request.CurrentLocation, SenderDeviceId = request.SenderDeviceId, TargetLocations = responseDevices }); }
public async Task <IActionResult> GetMeetLocations([FromBody] MeetLocationRequest request) { var result = await _impl.GetMeetLocation(request); return(Ok(result)); }