예제 #1
0
 public ArticulosController(IContenedorTrabajo contenedorTrabajo, IWebHostEnvironment hostEnvironment, ServiceArticulo serviceArticulo, ServiceCategorias serviceCategorias)
 {
     this._contenedorTrabajo = contenedorTrabajo;
     this._hostEnvironment   = hostEnvironment;
     this.serviceArticulo    = serviceArticulo;
     this.serviceCategorias  = serviceCategorias;
 }
예제 #2
0
 public ArticulosController(IContenedorTrabajo contenedorTrabajo, IWebHostEnvironment hostingEnvironment)
 {
     //con esto puedo acceder a todas las entedidades
     _contenedorTrabajo = contenedorTrabajo;
     //para poder subir las imagenes
     _hostingEnvironment = hostingEnvironment;
 }
예제 #3
0
 public ArticulosController(IContenedorTrabajo contenedorTrabajo, IWebHostEnvironment hostingEnvironment, IArticuloRepository articuloRepository, ICategoriaRepository categoriaRepository)
 {
     _contenedorTrabajo   = contenedorTrabajo;
     _hostingEnvironment  = hostingEnvironment;
     _articuloRepository  = articuloRepository;
     _categoriaRepository = categoriaRepository;
 }
예제 #4
0
 public RegisterModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ILogger <RegisterModel> logger,
     IEmailSender emailSender,
     RoleManager <IdentityRole> roleManager,
     IContenedorTrabajo container
     )
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _logger        = logger;
     _emailSender   = emailSender;
     _roleManager   = roleManager;
     _container     = container;
 }
 public ClientesController(IContenedorTrabajo contenedorTrabajo)
 {
     _contenedorTrabajo = contenedorTrabajo;
 }
예제 #6
0
 public TeamsController(IContenedorTrabajo contenedorTrabajo)
 {
     this.contenedorTrabajo = contenedorTrabajo;
 }
예제 #7
0
 //Crear constructor ctor
 public CategoriasController(IContenedorTrabajo contenedorTrabajo)
 {
     _contenedorTrabajo = contenedorTrabajo;
 }
 public CategoriasController(IContenedorTrabajo contenedorTrabajo, ApplicationDbContext context)
 {
     //con esto puedo acceder a todas las entedidades
     _contenedorTrabajo = contenedorTrabajo;
     _context           = context;
 }
예제 #9
0
 public SeedDb(ApplicationDbContext dbContext, IContenedorTrabajo contenedorTrabajo)
 {
     this.dbContext         = dbContext;
     this.contenedorTrabajo = contenedorTrabajo;
     _random = new Random();
 }
 public ArticulosController(IContenedorTrabajo contenedorTrabajo, IWebHostEnvironment hostingEnvironmen)
 {
     _contenedorTrabajo  = contenedorTrabajo;
     _hostingEnvironment = hostingEnvironmen;
 }
예제 #11
0
 public ShoppingCartController(IContenedorTrabajo contenedorTrabajo, IArticuloRepository articuloRepository, ShoppingCart shoppingCart)
 {
     _contenedorTrabajo  = contenedorTrabajo;
     _articuloRepository = articuloRepository;
     _shoppingCart       = shoppingCart;
 }
예제 #12
0
 public PacsController(IContenedorTrabajo contenedorTrabajo)
 {
     _contenedorTrabajo = contenedorTrabajo;
 }
예제 #13
0
 public CategoriasController(IContenedorTrabajo contenedorTrabajo, ApplicationDbContext context)
 {
     _contenedorTrabajo = contenedorTrabajo;
     _context           = context;
 }
예제 #14
0
 public HomeController(IContenedorTrabajo contenedorTrabajo, IArticuloRepository articuloRepository, ICategoriaRepository categoriaRepository)
 {
     _contenedorTrabajo   = contenedorTrabajo;
     _articuloRepository  = articuloRepository;
     _categoriaRepository = categoriaRepository;
 }
예제 #15
0
 public SliderController(IContenedorTrabajo contenedorTrabajo, IWebHostEnvironment hostEnvironment)
 {
     this._contenedorTrabajo = contenedorTrabajo;
     this._hostEnvironment   = hostEnvironment;
 }
예제 #16
0
 public ProveedorController(IContenedorTrabajo contenedorTrabajo, PruebaProveedoresContext context)
 {
     this._contenedorTrabajo = contenedorTrabajo;
     this._context           = context;
 }
예제 #17
0
 public TournamentsController(IContenedorTrabajo contenedorTrabajo)
 {
     this.contenedorTrabajo = contenedorTrabajo;
 }
예제 #18
0
 // contructor
 public CategoriasController(IContenedorTrabajo contenedorTrabajo)
 {
     // con esta lo que realizamos es poder acceder a todas las entidades de la Unit of Work
     _contenedorTrabajo = contenedorTrabajo;
 }
예제 #19
0
 public UsersController(IContenedorTrabajo contenedorTrabajo)
 {
     this.contenedorTrabajo = contenedorTrabajo;
 }
 // Contructor de la clase para acceder a todas las entidades
 public TipoGranContribuyenteController(IContenedorTrabajo contenedorTrabajo, IWebHostEnvironment hostingEnvironment)
 {
     _contenedorTrabajo  = contenedorTrabajo;
     _hostingEnvironment = hostingEnvironment;
 }
예제 #21
0
 public CategoriasController(IContenedorTrabajo contenedorTrabajo, ServiceCategorias serviceCategorias)
 {
     this._contenedorTrabajo = contenedorTrabajo;
     this.serviceCategorias  = serviceCategorias;
 }
예제 #22
0
 public SlidersController(IContenedorTrabajo contenedorTrabajo, IWebHostEnvironment hostEnvironment)
 {
     _contenedorTrabajo  = contenedorTrabajo;
     _hostingEnvironment = hostEnvironment;
 }
예제 #23
0
 public ArticulosController(IContenedorTrabajo container, IWebHostEnvironment webHost)
 {
     this._contenedorTrabajo = container;
     _host = webHost;
 }
예제 #24
0
 public RegistrosController(IContenedorTrabajo context)
 {
     db = context;
 }
예제 #25
0
 public UsuariosController(IContenedorTrabajo contenedorTrabajo)
 {
     _contenedorTrabajo = contenedorTrabajo;
 }
예제 #26
0
 public UsuariosController(IContenedorTrabajo contenedorTrabajo)
 {
     //con esto puedo acceder a todas las entedidades
     _contenedorTrabajo = contenedorTrabajo;
 }
 public UsuariosController(IContenedorTrabajo contenedorTrabajo)
 {
     _contenedorTrabajo = contenedorTrabajo; //podemos ingresar a todas las entidades
 }
예제 #28
0
 public TiposVehiculosController(IContenedorTrabajo contenedorTrabajo)
 {
     _contenedorTrabajo = contenedorTrabajo; //podemos ingresar a todas las entidades
 }
예제 #29
0
 public HomeController(IContenedorTrabajo contenedorTrabajo)
 {
     _contenedorTrabajo = contenedorTrabajo;
 }
 public VehiculosController(IContenedorTrabajo contenedorTrabajo)
 {
     _contenedorTrabajo = contenedorTrabajo;
 }