public IActionResult InativarPerfil([FromRoute] int id)
 {
     try
     {
         _perfilService.InativarPerfil(id);
         return(Ok(new
         {
             dados = "",
             notifications = _notificationHandler.Mensagens.Any() ? _notificationHandler.Mensagens.Select(x => x._value) : new List <string>(),
             success = !_notificationHandler.Mensagens.Any()
         }));
     }
     catch (Exception ex)
     {
         return(BadRequest(ex));
     }
 }