public async Task <ActionResult> DeleteConfirmed(int id) { ProductsClient api = new ProductsClient(); await api.DeleteAsync(id); return(RedirectToAction("Index")); }