static void Main(string[] args) { MyDatabase db = new MyDatabase(); PatientRepository patientRepository = new PatientRepository(db); MorbidityGroupRepository morbidityGroupRepository = new MorbidityGroupRepository(db); SymptomInstanceRepository symptomInstanceRepository = new SymptomInstanceRepository(db); Functionality functionality = new Functionality(); functionality.EnhancedServices(patientRepository, morbidityGroupRepository, symptomInstanceRepository); functionality.GeneralInfo(patientRepository, morbidityGroupRepository, symptomInstanceRepository); Console.ReadKey(); }