static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); BugRepo bugRepo = new BugRepo(); ProgramatorRepo programatorRepo = new ProgramatorRepo(); VerificatorRepo verificatorRepo = new VerificatorRepo(); Service service = new Service(bugRepo, programatorRepo, verificatorRepo); LoginController loginController = new LoginController(service); Application.Run(new LoginWindow(loginController)); }
public Service(BugRepo bugRepo, ProgramatorRepo programatorRepo, VerificatorRepo verificatorRepo) { BugRepo = bugRepo; ProgramatorRepo = programatorRepo; VerificatorRepo = verificatorRepo; }