public async Task <IActionResult> Get()
        {
            try
            {
                var result = await _repo.GetAllFuncionarioAsync(true);

                return(Ok(result));
            }
            catch (Exception ex)
            {
                return(BadRequest($"Erro: {ex.Message}"));
            }
        }