summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICredencialRepository.cs
blob: 67ef505097b2cfedb02311a2d5186f5c52eb4879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);
	}
}