예제 #1
0
        public ProductoFotosController(DbContextSistema context, IConfiguration config, IWebHostEnvironment hostingEnvironment)
        {
            this._context            = context;
            this._hostingEnvironment = hostingEnvironment;
            var account = new Account(config.GetValue <string>("Cloudinary:CLOUDINARY_URL"));

            this._cloudinary = new Cloudinary(account);
        }
예제 #2
0
        public ClientesController(DbContextSistema context, IConfiguration config, IHttpContextAccessor httpContextAccessor)
        {
            this._context        = context;
            this._passwordHelper = new PasswordHelper(config);
            this._tokenHelper    = new TokenHelper(config);

            this._cookieHelper = new CookieHelper(httpContextAccessor.HttpContext.Response, httpContextAccessor.HttpContext.Request, httpContextAccessor.HttpContext.User);
        }
        private readonly IConfiguration _config;//configuracion crear token

        public UsuariosController(DbContextSistema context, IConfiguration config)
        {
            baseDatos = context;
            _config   = config;//Configuracion token
        }
예제 #4
0
 public UsuariosController(DbContextSistema context)
 {
     _context = context;
 }
 public PlantillasController(DbContextSistema context)
 {
     _context = context;
 }
예제 #6
0
 public TipoClientesController(DbContextSistema context)
 {
     _context = context;
 }
예제 #7
0
 public AreasController(DbContextSistema context)
 {
     _context = context;
 }
예제 #8
0
 public CountriesController(DbContextSistema context)
 {
     _context = context;
 }
예제 #9
0
 public DocumentosController(DbContextSistema context)
 {
     _context = context;
 }
예제 #10
0
 public TarjetasController(DbContextSistema context)
 {
     _context = context;
 }
예제 #11
0
 public MovimientosController(DbContextSistema context)
 {
     _context = context;
 }
예제 #12
0
 public ComprobantesController(DbContextSistema context)
 {
     _context = context;
 }
예제 #13
0
 public AnomaliasController(DbContextSistema context)
 {
     _context = context;
 }
예제 #14
0
 public Registro_pamcoController(DbContextSistema context)
 {
     _context = context;
 }
 public CondicionesInsegurasController(DbContextSistema context)
 {
     _context = context;
 }
예제 #16
0
 public SQLVersionsController(DbContextSistema context)
 {
     _context = context;
 }
예제 #17
0
 public RolesController(DbContextSistema context)
 {
     _context = context;
 }
예제 #18
0
 public VMTypesController(DbContextSistema context)
 {
     _context = context;
 }
 public VentasController(DbContextSistema context)
 {
     _context = context;
 }
예제 #20
0
 public ConfigMailsController(DbContextSistema context)
 {
     _context = context;
 }
예제 #21
0
 public ServiciosController(DbContextSistema context)
 {
     _context = context;
 }
 public ArticulosController(DbContextSistema context)
 {
     _context = context;
 }
예제 #23
0
 public EstadoIngresosController(DbContextSistema context)
 {
     _context = context;
 }
 public RiesgoController(DbContextSistema context)
 {
     _context = context;
 }
예제 #25
0
 public UsuariosController(DbContextSistema context, IConfiguration config)
 {
     _context = context;
     _config  = config;
 }
예제 #26
0
 public SQLFamilysController(DbContextSistema context)
 {
     _context = context;
 }
예제 #27
0
 public CategoriasController(DbContextSistema context)
 {
     _context = context;
 }
 public ProductosController(DbContextSistema context)
 {
     this._context = context;
 }
예제 #29
0
 public PersonasController(DbContextSistema context)
 {
     _context = context;
 }
예제 #30
0
 public SucesosController(DbContextSistema context)
 {
     _context = context;
 }