Ejemplo n.º 1
0
 public BaseController(PropDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 2
0
 public HomeController(PropDbContext context, Microsoft.AspNetCore.Hosting.IWebHostEnvironment hosting, IAuth auth) : base(context, auth)
 {
     _context = context;
     _auth    = auth;
     _hosting = hosting;
 }
Ejemplo n.º 3
0
 public Auth(PropDbContext context, IHttpContextAccessor accessor)
 {
     _context  = context;
     _accessor = accessor;
 }
Ejemplo n.º 4
0
 public BaseController(PropDbContext context, IAuth auth)
 {
     _context = context;
     _auth    = auth;
 }
Ejemplo n.º 5
0
 public HomeController(ILogger <HomeController> logger, PropDbContext context) : base(context)
 {
     _context = context;
     _logger  = logger;
 }