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 { List AddRange(List adiantamentos); List BuscarAdiantamentos(long id, bool concluido = false); void Delete(long id); List Find(bool ativo); List Find(long id); List Find(string nome); List FindByDate(DateTime filtroInicio, DateTime filtroFim, List vendedores = null, bool segundavia = false); Adiantamento FindById(long id); Adiantamento Merge(Adiantamento adiantamento); Adiantamento SaveOrUpdate(Adiantamento adiantamento); } }