public MoviesController() { _context = new MovContext(); _producerRepository = new ProducerRepository(_context); _actorRepository = new ActorRepository(_context); _movieRepository = new MovieRepository(_context); }
public ProducersController() { var context = new MovContext(); _producerRepository = new ProducerRepository(context); _actorRepository = new ActorRepository(context); _movieRepository = new MovieRepository(context); }
public MovieRepository(MovContext movContext) { _context = movContext; }
public ProducerRepository(MovContext movContext) { _context = movContext; }
public ActorRepository(MovContext movContext) { _context = movContext; }
public EmpresaRepository(MovContext context) : base(context) { }
public Repository(MovContext context) { _context = context; }
public CnaeRepository(MovContext context) : base(context) { }