public static async Task <T> IndexAsync <T>() { var routeInfo = new RouteInfo { HttpMethods = "GET", Path = Index, }; return(await HttpClientAsync.Async <T>(routeInfo)); }
public static async Task <T> ShowAllRoutesAsync <T>() { var routeInfo = new RouteInfo { HttpMethods = "GET", Path = ShowAllRoutes, }; return(await HttpClientAsync.Async <T>(routeInfo)); }