Beispiel #1
0
        public async Task <IHttpActionResult> UpdateBeacon(int clientId, [FromBody] BeaconModel model)
        {
            var userId = GetUserId();
            var beacon = await _beaconManager.UpdateAsync(model, clientId, userId);

            return(Ok(beacon));
        }