blob: 350e7053e86a098a816028bdcf28e4a12e51161a (
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 IVendedorUsuarioRepository : IGenericRepository<VendedorUsuarioDb>
{
void Delete(long id);
bool Exist(long id);
bool ExistVinculoUsuario(long idUsuario);
VendedorUsuario FindById(long id);
IList<Vendedor> FindByUsuario(long idUsuario);
List<VendedorUsuario> FindByVinculo(long idUsuario);
VendedorUsuario Merge(VendedorUsuario vendedorUsuario);
VendedorUsuario SaveOrUpdate(VendedorUsuario vendedorUsuario);
}
}
|