Example #1
0
        public async Task <ActionResult <IEnumerable <Location> > > GetAllDriversTrackingsForUserManager(long userManagerId)
        {
            var data = await _repository.GetAllDriversTrackingsForUserManager(userManagerId);

            var timerManager = new TimerManager(async() => await _hub.Clients.All.SendAsync("getDriversTracking", data));

            return(Ok(data));
        }