public async Task <JsonResult> GetCustomerAccounts() { var asd = new CallApi("https://localhost:5001", new System.Net.Http.HttpClient()); var response = await asd.GetCustomersAsync(); return(Json(response)); }