public static async void ShowArrestReportList() { var reports = await ComputerReportsController.GetAllArrestReportsAsync(0, 0); if (reports == null) { Function.Log("Reports is null"); } else if (Globals.Navigation == null) { Function.Log("Global nav is null"); } else { Globals.Navigation.Push(new ArrestReportListContainer(reports)); } }
/** Traffic Citations **/ public static async void ShowTrafficCitationList() { var citations = await ComputerReportsController.GetAllTrafficCitationsAsync(0, 0); if (citations == null) { Function.Log("Citations are null"); } else if (Globals.Navigation == null) { Function.Log("Global nav is null"); } else { Globals.Navigation.Push(new TrafficCitationListContainer(citations)); } }