summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraContatoRepository.cs
blob: 57425d5ebedad9a918e3da78bacf8f709a4a7a48 (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 ISeguradoraContatoRepository : IGenericRepository<SeguradoraContatoDb>
	{
		void Delete(long id);

		List<SeguradoraContato> FindAssistencia(long empresa, long id);

		SeguradoraContato FindById(long id);

		List<SeguradoraContato> FindBySeguradora(long empresa, long id);

		SeguradoraContato Merge(SeguradoraContato contato);

		List<SeguradoraContato> Merge(List<SeguradoraContato> contatos, Seguradora seguradora, long empresa);

		SeguradoraContato SaveOrUpdate(SeguradoraContato contato);
	}
}