Beispiel #1
0
 public LanguagesController(WorkersDbContext context)
 {
     _context = context;
 }
Beispiel #2
0
 public WorkersController(WorkersDbContext context)
 {
     _context = context;
 }
 public WorkersService(WorkersDbContext dbContext)
 {
     this.dbContext = dbContext;
 }
Beispiel #4
0
 public DepartmentsController(WorkersDbContext context)
 {
     _context = context;
 }
 public WorkerController()
 {
     dbcontext     = new WorkersDbContext();
     workerService = new WorkerService(dbcontext);
 }