示例#1
0
 public TrabajadorRepository(ApplicationDbContext context, INegocioRepository negocioRepository, IAdministradorSesion administradorSesion, ServicesAWSS3 servicesAWSS3)
 {
     this.context             = context;
     this.administradorSesion = administradorSesion;
     this.negocioRepository   = negocioRepository;
     this.servicesAWSS3       = servicesAWSS3;
 }
示例#2
0
 public CategoriaRepository(ApplicationDbContext context, IAdministradorSesion adminstradorRepository, INegocioRepository negocioRepository, ITrabajadorRepository repTrab)
 {
     this.context             = context;
     this.administradorSesion = adminstradorRepository;
     this.negocioRepository   = negocioRepository;
     this.tRepository         = repTrab;
 }
示例#3
0
 public AccountController(IConfiguration configuration, ITrabajadorRepository userRepository, IAdministradorSesion administradorSesion, INegocioRepository repNegocio, IProductoRepository productoRepository)
 {
     config = configuration;
     this.administradorSesion = administradorSesion;
     repositorioTrabajadores  = userRepository;
     this.repNegocio          = repNegocio;
     this.productoRepository  = productoRepository;
 }
示例#4
0
 public TrabajadorController(IConfiguration config, ITrabajadorRepository trabajadorRepository, IProductoRepository productoRepository, IAdministradorSesion administradorSesion, ServicesAWSS3 servicesAWSS)
 {
     this.config = config;
     this.administradorSesion  = administradorSesion;
     this.trabajadorRepository = trabajadorRepository;
     servicesAWSS3             = servicesAWSS;
     this.productoRepository   = productoRepository;
 }
示例#5
0
 public ProductoController(IConfiguration configuration, ITrabajadorRepository trabajadorRepository, IProductoRepository productoRepository, IAdministradorSesion administradorSesion, ICategoriaRepository categoria, ServicesAWSS3 servicesAWSS)
 {
     config = configuration;
     this.productoRepository   = productoRepository;
     this.administradorSesion  = administradorSesion;
     this.trabajadorRepository = trabajadorRepository;
     categoriaRepository       = categoria;
     servicesAWSS3             = servicesAWSS;
 }
示例#6
0
 public VentaRepository(ApplicationDbContext context, IAdministradorSesion administradorSesion, ITrabajadorRepository repTrabajador)
 {
     this.context             = context;
     this.administradorSesion = administradorSesion;
     this.repTrabajador       = repTrabajador;
 }