diff options
Diffstat (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRestricaoUsuarioRepository.cs')
| -rw-r--r-- | Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRestricaoUsuarioRepository.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRestricaoUsuarioRepository.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRestricaoUsuarioRepository.cs new file mode 100644 index 0000000..aeb731b --- /dev/null +++ b/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IRestricaoUsuarioRepository.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 IRestricaoUsuarioRepository
+ {
+ List<RestricaoUsuario> FindByUsuario(long id);
+
+ RestricaoUsuario FindRestricao(long id, TipoRestricao restricao);
+
+ RestricaoUsuario Merge(RestricaoUsuario restricao);
+
+ RestricaoUsuario SaveOrUpdate(RestricaoUsuario restricao);
+ }
+}
\ No newline at end of file |