private async void onNav(string destination) { switch (destination) { case "faculties": await _facultiesViewModel.LoadDataLists(); CurrectViewModel = _facultiesViewModel; break; case "specialities": await _specialitiesViewModel.LoadDataLists(); CurrectViewModel = _specialitiesViewModel; break; case "students": await _studentsViewModel.LoadDataLists(); CurrectViewModel = _studentsViewModel; break; case "report": await _reportViewModel.LoadReportData(); CurrectViewModel = _reportViewModel; break; default: throw new ArgumentException("Invalid navigation path."); } }