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