public ActionResult Delete(int id)
        {
            TodoClient tc = new TodoClient();

            tc.Delete(id);
            return(RedirectToAction("Index"));
        }
Ejemplo n.º 2
0
 private static async Task Delete()
 {
     await client.Delete(1);
 }