summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ISeguradoraEnderecoRepository.cs
blob: 24f2709dddd5f24eeb14fc24647320009876ff2d (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.Seguros;
using Gestor.Infrastructure.Repository.Generic;
using Gestor.Model.Domain.Seguros;
using System;
using System.Collections.Generic;

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

		SeguradoraEndereco FindById(long id);

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

		SeguradoraEndereco Merge(SeguradoraEndereco endereco);

		List<SeguradoraEndereco> Merge(List<SeguradoraEndereco> enderecos, Seguradora seguradora, long empresa);

		SeguradoraEndereco SaveOrUpdate(SeguradoraEndereco endereco);
	}
}