summaryrefslogtreecommitdiff
path: root/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICoberturaPadraoRepository.cs
blob: ed82a3d8d8614d1ca5f825d8326adc3182ac5c6d (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 ICoberturaPadraoRepository : IGenericRepository<CoberturaPadraoDb>
	{
		void Delete(long id);

		List<CoberturaPadrao> Find();

		CoberturaPadrao FindById(long id);

		List<CoberturaPadrao> FindByRamoId(long id);

		CoberturaPadrao Merge(CoberturaPadrao coberturaPadrao);

		CoberturaPadrao SaveOrUpdate(CoberturaPadrao coberturaPadrao);
	}
}