Пример #1
0
 // here we can "inject" our context service into the constructor
 public ReportController(v4Context context)
 {
     dbContext = context;
 }
Пример #2
0
 // here we can "inject" our context service into the constructor
 public JobController(v4Context context)
 {
     dbContext = context;
 }
Пример #3
0
 // here we can "inject" our context service into the constructor
 public HomeController(v4Context context)
 {
     dbContext = context;
 }
Пример #4
0
 public CustomerController(v4Context context)
 {
     dbContext = context;
 }
Пример #5
0
 public EmployeeController(v4Context context)
 {
     dbContext = context;
 }