public AddWorkDoneForm(ApplicationDbContext context)
 {
     dbContext         = context;
     subjectService    = new SubjectService(dbContext);
     solidWasteService = new SolidWasteService(dbContext);
     argumentService   = new ArgumentService(dbContext);
     collectService    = new CollectService(dbContext);
     employeService    = new EmployeService(dbContext);
     InitializeComponent();
 }
Esempio n. 2
0
 public SolidWastesList(ApplicationDbContext context)
 {
     dbContext         = context;
     solidWasteService = new SolidWasteService(dbContext);
     InitializeComponent();
 }