Exemple #1
0
        public async Task Position(PositionVM position)
        {
            if (!(position.Latitude == 0 && position.Longitude == 0))
            {
                try
                {
                    await _clienteAppService.AtualizarPosicaoClienteLogadoAsync(position);
                }catch (Exception e)
                {
                    var a = 0;
                }
            }

            await Clients.Caller.SendAsync("Position", "OK");
        }