public async Task <IActionResult> Delete(int AgendaId)
        {
            try
            {
                var result = await _service.DeletarAgendamentos(AgendaId);

                return(Ok());
            }
            catch (BusinessException e)
            {
                if (e.Message.Equals("naoEncontrado"))
                {
                    return(NotFound());
                }

                return(BadRequest());
            }
            catch (DbConcurrencyException e)
            {
                return(this.StatusCode(StatusCodes.Status500InternalServerError, "Banco de dados Falhou, pelo motivo: {0}" + e));
            }
        }