public IActionResult EnviarEmail([FromBody] EnviarEmail value)
        {
            try
            {
                AgendaService agendaService = new AgendaService(this._context);
                agendaService.EnviarEmail(value);

                return(Ok());
            }
            catch (Exception ex)
            {
                return(BadRequest(new { message = ex.Message }));
            }
        }