summaryrefslogtreecommitdiff
path: root/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/ICoberturaRepository.cs
blob: e2f5a01de1b361514cb18b4f18ded8162f269c5a (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
26
27
28
29
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 ICoberturaRepository : IGenericRepository<CoberturaDb>
	{
		List<Cobertura> AddRange(List<Cobertura> coberturas);

		void Delete(long id);

		void DeletebyItem(long id);

		void DeleteRange(List<long> ids);

		Cobertura FindById(long id);

		List<Cobertura> FindByItemId(long id);

		Cobertura Merge(Cobertura cobertura);

		List<Cobertura> MergeRange(List<Cobertura> coberturas);

		Cobertura SaveOrUpdate(Cobertura cobertura);
	}
}