Beispiel #1
0
 public EmployeesController(STPContext context)
 {
     _context = context;
 }
Beispiel #2
0
 public CompaniesController(STPContext context)
 {
     _context = context;
 }
Beispiel #3
0
 public static void Initialize(STPContext context)
 {
     context.Database.EnsureCreated();
     context.SaveChanges();
 }
Beispiel #4
0
 public OfficesController(STPContext context)
 {
     _context = context;
 }