public ActionResult Delete(int id) { TodoClient tc = new TodoClient(); tc.Delete(id); return(RedirectToAction("Index")); }
private static async Task Delete() { await client.Delete(1); }