summaryrefslogtreecommitdiff
path: root/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IClienteVinculoRepository.cs
blob: a399178a3542d923bc437ca6550c048aa638d921 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using Gestor.Infrastructure.Entities.Seguros;
using Gestor.Infrastructure.Repository.Generic;
using Gestor.Model.Domain.Seguros;
using System;
using System.Collections.Generic;

namespace Gestor.Infrastructure.Repository.Interface
{
	public interface IClienteVinculoRepository : IGenericRepository<ClienteVinculoDb>
	{
		void Delete(long id);

		List<ClienteVinculo> DeleteVinculo(long clienteId, List<ClienteVinculo> vinculos);

		List<ClienteVinculo> FindByCliente(long id);

		ClienteVinculo FindById(long id);

		List<ClienteVinculo> Inserir(List<ClienteVinculo> vinculos, Cliente cliente);

		List<ClienteVinculo> Merge(List<ClienteVinculo> contatos, Cliente cliente);

		ClienteVinculo SaveOrUpdate(ClienteVinculo clienteVinculo);
	}
}