public async Task <int> Deletar(int agendamentoId, int salaId)
        {
            try
            {
                var sala = await _agendaSalaManager.Delete(agendamentoId, salaId);

                return(sala);
            }
            catch (Exception ex)
            {
                TempData["NotifyMessage"] = "" + ex.Message;
                return(-1);
            }
        }
 public async Task <IActionResult> Delete(int agendamentoSalaId, int salaId)
 {
     return(Ok(await _agendaSalaManager.Delete(agendamentoSalaId, salaId)));
 }