示例#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;
 }