public async Task <IActionResult> Index() { return(await _resiliencyHelper.ExecuteResilient(async() => { var model = new ContractManagementViewModel { Vats = await _contractManagementAPI.GetVats() }; return View(model); }, View("Offline", new ContractManagementOfflineViewModel()))); }
public async Task <List <VAT> > GetVats() { return(await _client.GetVats()); }