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

		List<Seguradora> Find(string filter);

		List<Seguradora> Find(bool ativo);

		List<Seguradora> Find();

		Seguradora FindById(long id);

		Seguradora Merge(Seguradora seguradora);

		Seguradora SaveOrUpdate(Seguradora seguradora);
	}
}