public async Task <IHttpActionResult> GetBeacon(int clientId, int beaconId) { var userId = GetUserId(); var beacon = await _beaconManager.GetAsync(beaconId, clientId, userId); return(Ok(beacon)); }