public AdminController( MascotaContext context, UserManager <IdentityUser> um, SignInManager <IdentityUser> sim) { this._context = context; _userManager = um; _signInManager = sim; }
public HomeController( MascotaContext mc, UserManager <IdentityUser> um, SignInManager <IdentityUser> sim ) { _context = mc; _userManager = um; _signInManager = sim; }
public HomeController(MascotaContext c) { _context = c; }
public ComunidadController(MascotaContext context){ _context = context; }
private MascotaContext _context; //el contexto public PetController(MascotaContext c) //el constructor del contexto { _context = c; }
public UsuarioRepositorio(MascotaContext context) { this.context = context; }
public HistoriaRepository(MascotaContext context) { this.context = context; }
public MascotaRepositorio(MascotaContext context) { this.context = context; }
private MascotaContext _context; //el contexto public CategoriaController(MascotaContext c) //el constructor del contexto { _context = c; }