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