protected TResponse _Get <TResponse>(WebApiType type, int?id) { _Init(type); var query = $"/{id}"; var resp = _HttpHandler.GetJson <TResponse>(query); return(resp); }
// GET: Planes public IActionResult Index() { _InitPlaneHttpUrl(); var resp = _HttpHandler.GetJson <List <Plane> >(string.Empty); return(View(resp)); }