//[Authorize(Policy = "PodeGravar")] public IActionResult DeleteConfirmed(Guid id) { _documentoAppService.Excluir(id); return(RedirectToAction("Index")); }