public HomeController(HerhalingContext context) { _herhalingContext = context; _herhalingContext.Set <User>() .Include(u => u.UserProducts) .ThenInclude(up => up.ProductInfo); }
public LoginController(HerhalingContext context) { _herhalingContext = context; }
public UsersController(HerhalingContext context) { _context = context; }
public ProductsController(HerhalingContext context) { _context = context; }