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

		List<Ramo> Find(bool ativo);

		List<Ramo> Find();

		Ramo FindById(long id);

		Ramo Merge(Ramo ramo);

		List<Ramo> MergeRange(List<Ramo> ramos);

		Ramo SaveOrUpdate(Ramo ramo);
	}
}