public async void getListSubject() { try { await ApiGenerator.GetListSubject(viewShowListSubject); } catch (HttpRequestException exception) { Console.WriteLine(exception.Message); } }