Exemplo n.º 1
0
        public async Task <IHttpActionResult> AddBeacon(int clientId, [FromBody] BeaconModel model)
        {
            var userId = GetUserId();
            var beacon = await _beaconManager.AddAsync(model, clientId, userId);

            return(Ok(beacon));
        }