コード例 #1
0
        public IActionResult EnviarEmailAtualizacaoReserva([FromBody] Reserva reserva)
        {
            try
            {
                ReservaService reservaService = new ReservaService(this._context);
                reservaService.EnviarEmailAlteracao(reserva);

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