public SalasDeCineController(ApplicacionDbContext context, IMapper mapper, GeometryFactory geometryFactory)
     : base(context, mapper)
 {
     this.context         = context;
     this.mapper          = mapper;
     this.geometryFactory = geometryFactory;
 }
Ejemplo n.º 2
0
 public ReviewController(ApplicacionDbContext context,
                         IMapper mapper)
     : base(context, mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }
Ejemplo n.º 3
0
        protected ApplicacionDbContext ConstruirContext(string nombreDB)
        {
            var opciones = new DbContextOptionsBuilder <ApplicacionDbContext>()
                           .UseInMemoryDatabase(nombreDB).Options;

            var dbContext = new ApplicacionDbContext(opciones);

            return(dbContext);
        }
Ejemplo n.º 4
0
        public PeliculasController(ApplicacionDbContext context,
                                   IMapper mapper,
                                   IAlmacenadorArchivos almacenadorArchivos,
                                   ILogger <PeliculasController> logger) : base(context, mapper)

        {
            this.context             = context;
            this.mapper              = mapper;
            this.almacenadorArchivos = almacenadorArchivos;
            this.logger              = logger;
        }
Ejemplo n.º 5
0
 public CuentasController(
     UserManager <IdentityUser> userManager,
     SignInManager <IdentityUser> signInManager,
     IConfiguration configuration,
     ApplicacionDbContext context,
     IMapper mapper)
     : base(context, mapper)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _configuration = configuration;
     this.context   = context;
 }
Ejemplo n.º 6
0
 public ProductoController(ApplicacionDbContext context)
 {
     this.Context = context;
 }
Ejemplo n.º 7
0
 public GenerosController(ApplicacionDbContext context, IMapper mapper) : base(context, mapper)
 {
 }
Ejemplo n.º 8
0
 public PeliculaExisteAttribute(ApplicacionDbContext context)
 {
     this.Dbcontext = context;
 }
Ejemplo n.º 9
0
 public ActoresController(ApplicacionDbContext context, IMapper mapper, IAlmacenadorArchivos almacenadorArchivos) : base(context, mapper)
 {
     this.context             = context;
     this.mapper              = mapper;
     this.almacenadorArchivos = almacenadorArchivos;
 }
Ejemplo n.º 10
0
 public CustomBaseController(ApplicacionDbContext context, IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }