public async Task <ActionResult <List <RelatorioQtdEntradaSaidaHoraViewModel> > > RelatorioEntradaSaidaVeiculoHoraAsync(Guid id)
        {
            try
            {
                List <QtdEntradaSaidaHora> result = await _relatorioService.QtdEntradaSaidaHoraDTO(id);

                if (result == null)
                {
                    return(BadRequest(ModelError.GetErrorValidacao(_notificador)));
                }


                List <RelatorioQtdEntradaSaidaHoraViewModel> relatorioQtdEntradaSaidaHoraViewModel = _mapper.Map <List <RelatorioQtdEntradaSaidaHoraViewModel> >(result);

                return(Ok(relatorioQtdEntradaSaidaHoraViewModel));
            }
            catch (Exception ex)
            {
                return(StatusCode(StatusCodes.Status500InternalServerError, "Ocorreu um erro interno no servidor: " + ex.Message));
            }
        }