public PagosController(PagosRepository prepository, IbankingContext context, ClientRepository repository,
                        BeneficiarioRepository brepository)
 {
     _prepository = prepository;
     _context     = context;
     _repository  = repository;
     _brepository = brepository;
 }
Beispiel #2
0
 public ClientController(ClientRepository repository,
                         IMapper mapper, BeneficiarioRepository Brepository,
                         IbankingContext context, ProductosRepository Prepository)
 {
     _repository  = repository;
     _mapper      = mapper;
     _Brepository = Brepository;
     _context     = context;
     _Prepository = Prepository;
 }
Beispiel #3
0
        public ClientController(UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager,
                                ItlaBankingContext context, IMapper mapper, UsuarioRepository usuarioRepository, CuentaRepository cuentaRepository,
                                TarjetaCreditoRepository tarjetasRepository, PrestamosRepository prestamosRepository, BeneficiarioRepository beneficiarioRepository,
                                TransaccionesRepository transaccionesRepository
                                )
        {
            _userManager   = userManager;
            _signinManager = signInManager;
            _context       = context;
            _mapper        = mapper;


            ///repositorios
            _usuarioRepository       = usuarioRepository;
            _cuentaRepository        = cuentaRepository;
            _prestamosRepository     = prestamosRepository;
            _tarjetasRepository      = tarjetasRepository;
            _beneficiarioRepository  = beneficiarioRepository;
            _transaccionesRepository = transaccionesRepository;
        }
 public BeneficiarioService(string connectionString)
 {
     conexion    = new ConnectionManager(connectionString);
     repositorio = new BeneficiarioRepository(conexion);
 }