예제 #1
0
 // MVC framework will call this constructor with the
 // appropriate context instance, which was registered as
 // a framework service in Startup.cs
 public MenuController(CheeseDBContext context)
 {
     this.context = context;
 }
 public CategoryController(CheeseDBContext dbContext)
 {
     context = dbContext;
 }
 public MenuController(CheeseDBContext dBContext)
 {
     context = dBContext;
 }
예제 #4
0
 public CheeseController(CheeseDBContext dbContext)
 {
     context = dbContext;
 }
예제 #5
0
 public ExampleController(CheeseDBContext context)
 {
     this.context = context;
 }