public async Task <IActionResult> GetUserAgendaAppointment()
        {
            var agendaRepository = new AgendaRepository(_context);
            var agendaService    = new AgendaService(agendaRepository);
            var userRepository   = new UserRepository(_context);

            var authenticadedUser = ((ClaimsIdentity)User.Identity).Claims.FirstOrDefault()?.Value;
            var user = await userRepository.GetUserFromEmailOrOauthID(authenticadedUser);

            if (user == null)
            {
                return(NotFound("Usuário não encontrado"));
            }

            return(Json(agendaService.GetUserAgendaAppointment(user).Result));
        }