summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISocioRepository.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISocioRepository.cs')
-rw-r--r--Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISocioRepository.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISocioRepository.cs b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISocioRepository.cs
new file mode 100644
index 0000000..d5c7eda
--- /dev/null
+++ b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISocioRepository.cs
@@ -0,0 +1,23 @@
+using Gestor.Infrastructure.Entities.Common;
+using Gestor.Infrastructure.Repository.Generic;
+using Gestor.Model.Domain.Common;
+using System;
+using System.Collections.Generic;
+
+namespace Gestor.Infrastructure.Repository.Interface
+{
+ public interface ISocioRepository : IGenericRepository<SocioDb>
+ {
+ void Delete(long id);
+
+ List<Socio> Find();
+
+ List<Socio> FindByEmpresa(long id);
+
+ Socio FindById(long id);
+
+ Socio Merge(Socio socio);
+
+ Socio SaveOrUpdate(Socio socio);
+ }
+} \ No newline at end of file