summaryrefslogtreecommitdiff
path: root/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPermissaoUsuarioRepository.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPermissaoUsuarioRepository.cs')
-rw-r--r--Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPermissaoUsuarioRepository.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPermissaoUsuarioRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPermissaoUsuarioRepository.cs
new file mode 100644
index 0000000..07fd4fe
--- /dev/null
+++ b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPermissaoUsuarioRepository.cs
@@ -0,0 +1,18 @@
+using Gestor.Model.Common;
+using Gestor.Model.Domain.Seguros;
+using System;
+using System.Collections.Generic;
+
+namespace Gestor.Infrastructure.Repository.Interface
+{
+ public interface IPermissaoUsuarioRepository
+ {
+ PermissaoUsuario FindByPermissao(long id, TipoTela tela);
+
+ List<PermissaoUsuario> FindByUsuario(long id);
+
+ PermissaoUsuario Merge(PermissaoUsuario permissao);
+
+ PermissaoUsuario SaveOrUpdate(PermissaoUsuario permissao);
+ }
+} \ No newline at end of file