summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAdiantamentoRepository.cs
blob: 75da0daeb1cf1581317e35af90249629a0344283 (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
30
31
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 IAdiantamentoRepository : IGenericRepository<AdiantamentoDb>
	{
		List<Adiantamento> AddRange(List<Adiantamento> adiantamentos);

		List<Adiantamento> BuscarAdiantamentos(long id, bool concluido = false);

		void Delete(long id);

		List<Adiantamento> Find(bool ativo);

		List<Adiantamento> Find(long id);

		List<Adiantamento> Find(string nome);

		List<Adiantamento> FindByDate(DateTime filtroInicio, DateTime filtroFim, List<long> vendedores = null, bool segundavia = false);

		Adiantamento FindById(long id);

		Adiantamento Merge(Adiantamento adiantamento);

		Adiantamento SaveOrUpdate(Adiantamento adiantamento);
	}
}