コード例 #1
0
 public ContactoService(ICondicionesDePagoRepository ICondicionesDePagoRepository, ICuentasBancariasRepository ICuentasBancariasRepository, IContactoRepository ContactoRepository, IContactoRelacionRepository IContactoRelacionRepository)
 {
     this.cpRepository = ICondicionesDePagoRepository;
     this.cbRepository = ICuentasBancariasRepository;
     this.repository   = ContactoRepository;
     this.crRepository = IContactoRelacionRepository;
 }
コード例 #2
0
 public ProveedorService(IUnitOfWork unitOfWork, ICurrentContext currentContext, IMapper mapper)
     : base(unitOfWork, currentContext, mapper)
 {
     _repository         = unitOfWork.RegisterRepository <ProveedorRepository>();
     _enteRepository     = unitOfWork.RegisterRepository <EnteRepository>();
     _contactoRepository = unitOfWork.RegisterRepository <ContactoRepository>();
 }
コード例 #3
0
 public ContactoService(IContactoRepository repository)
 {
     this.repository = repository;
 }
コード例 #4
0
 public ContactosController(IContactoRepository contactosRepo,
                            IConfiguration config)
 {
     repo     = contactosRepo;
     fotosDir = config.GetValue <String>("ContactosRepository:imgfolder");
 }
コード例 #5
0
 public ContactoService(IContactoRepository contactoRepository)
 {
     this.contactoRepository = contactoRepository;
 }
コード例 #6
0
 public ContactoService(IContactoRepository contactoRepository,
                        IMapper mapper)
 {
     this.contactoRepository = contactoRepository;
     this.mapper             = mapper;
 }
コード例 #7
0
 public ContactoService(IContactoRepository ContactoRepository, IContactoRelacionRepository IContactoRelacionRepository)
 {
     this.ContactoRepository          = ContactoRepository;
     this.IContactoRelacionRepository = IContactoRelacionRepository;
 }