/****** Metodos Privados do Controller ******/
        private async Task <IActionResult> ObterVisaoAgendaPorId(long?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var agenda = await agendaDAL.ObterAgendaPorId((long)id);

            if (agenda == null)
            {
                return(NotFound());
            }

            return(View(agenda));
        }