summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IControleSinistroRepository.cs
blob: 61f5fe164357c207e202b7518355f67bd7d655bf (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
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 IControleSinistroRepository : IGenericRepository<ControleSinistroDb>
	{
		void Delete(long id);

		void DeleteByItem(long id);

		void DeleteRange(List<long> ids);

		ControleSinistro FindById(long id);

		List<ControleSinistro> FindByIdItem(long id);

		bool HasSinistro(long id);

		ControleSinistro Merge(ControleSinistro controle);

		ControleSinistro SaveOrUpdate(ControleSinistro controle);
	}
}