コード例 #1
0
 public FeedbacksController()
 {
     _context                    = new JPGPizzaDbContext();
     _feedbacksRepository        = new FeedbacksRepository(_context);
     _productsRepository         = new ProductsRepository(_context);
     _applicationUsersRepository = new ApplicationUsersRepository(_context);
 }
コード例 #2
0
 public ProductsRepository(JPGPizzaDbContext context)
 {
     _context = context;
 }
コード例 #3
0
ファイル: HomeController.cs プロジェクト: georgi4c/JPGPizza
 public HomeController()
 {
     _context = new JPGPizzaDbContext();
 }
コード例 #4
0
 public AdministratorsRepository(JPGPizzaDbContext context)
 {
     this._context = context;
 }
コード例 #5
0
ファイル: OrdersRepository.cs プロジェクト: georgi4c/JPGPizza
 public OrdersRepository(JPGPizzaDbContext context)
 {
     _context = context;
 }
コード例 #6
0
 public IngredientsRepository(JPGPizzaDbContext context)
 {
     _context = context;
 }
コード例 #7
0
 public ApplicationUsersController()
 {
     _context = new JPGPizzaDbContext();
     _applicationUserRepository = new ApplicationUsersRepository(_context);
     _ordersRepository          = new OrdersRepository(_context);
 }
コード例 #8
0
 public IngredientsController()
 {
     _context = new JPGPizzaDbContext();
     _ingredientsRepository = new IngredientsRepository(_context);
 }
コード例 #9
0
 public ApplicationUsersRepository(JPGPizzaDbContext context)
 {
     _context = context;
 }
コード例 #10
0
ファイル: OrdersController.cs プロジェクト: georgi4c/JPGPizza
 public OrdersController()
 {
     _context            = new JPGPizzaDbContext();
     _productsRepository = new ProductsRepository(_context);
     _ordersRepository   = new OrdersRepository(_context);
 }
コード例 #11
0
 public ProductsController()
 {
     _context = new JPGPizzaDbContext();
     this._ingredientsRepository = new IngredientsRepository(_context);
     this._productsRepository    = new ProductsRepository(_context);
 }
コード例 #12
0
 public FeedbacksRepository(JPGPizzaDbContext context)
 {
     _context = context;
 }
コード例 #13
0
 public AdministratorsController()
 {
     _context = new JPGPizzaDbContext();
     _administratorsRepository = new AdministratorsRepository(_context);
     _productsRepository       = new ProductsRepository(_context);
 }