public static void Main(string[] args) { IEmployeesDatabaseConnection EmployeesDatabaseConnection = EmployeeAbstractizationFactory.CreateEmployeeDatabaseConnection(); EmployeesDatabaseConnection.SetConnectionToLocalDatabase(); IRecordsDatabaseConnection RecordsDatabaseConnection = RecordsAbstractizationFactory.CreateRecordsDatabaseConnection(); RecordsDatabaseConnection.SetConnectionToLocalDatabase(); IEmployeeDatabaseCRUD EmployeesCRUDOperations = EmployeeAbstractizationFactory.CreateInstanceForCRUDOperations(); IRecordsDatabaseCRUD RecordsCRUDOperations = RecordsAbstractizationFactory.CreateInstanceForCRUDOperations(); IEmployeeModel vasile = EmployeeAbstractizationFactory.CreateEmployeeInstance("vasile1", "10.11.1128", "Wheel", "10.2.2008"); for (int i = 1; i < 2; i++) { vasile = EmployeeAbstractizationFactory.CreateEmployeeInstance((string)("vasile" + i.ToString()), "10.11.1128", "Wheel", "10.2.2008"); EmployeesCRUDOperations.AddNewEmployeeToDatabase(vasile); } CreateHostBuilder(args).Build().Run(); }