public NoticiaServices(NoticiasDBContext NoticiaDB) { _NoticiaDB = NoticiaDB; }
public NoticiaService(NoticiasDBContext noticiasDBContext) { _noticiasDBContext = noticiasDBContext; }
public NoticiaService(NoticiasDBContext DBContext) { dBContext = DBContext; }
public EstadosController(NoticiasDBContext context) { _context = context; }
public NoticiaService(NoticiasDBContext noticiaDBContext) { this._noticiaDBContext = noticiaDBContext; }
public NoticiaServices(NoticiasDBContext noticiasDBContext) { noticiasDB = noticiasDBContext; }
public UsuariosController(NoticiasDBContext context) { _context = context; }
public readonly NoticiasDBContext _NoticiasDB; // <-- Definimos que el DBcontext solo será de lectura. public NoticiasServices(NoticiasDBContext noticiasDB) { _NoticiasDB = noticiasDB; // <-- Creamos nuestra inyección de independencias. Inyecctamos el DBcontext }
public AdministradorsController(NoticiasDBContext context) { _context = context; }
public ComentariosController(NoticiasDBContext context) { _context = context; }
public AutorService(NoticiasDBContext noticiasDbContext) { _noticiaDbContext = noticiasDbContext; }
public CategoriasController(NoticiasDBContext context) { _context = context; }
public AutorsController(NoticiasDBContext context) { _context = context; }