public async void getSubjectDetail(int subjectId) { try { await ApiGenerator.GetSubjectListSchedule(viewShowSubjectDetail, subjectId); } catch (HttpRequestException exception) { Console.WriteLine(exception.Message); } }