public async Task <ActionResult> DeleteConfirmedAsync([Bind(Include = "Id")] string id) { await db.DeleteItemAsync(id); return(RedirectToAction("Index")); }
public async Task <ActionResult> DeleteConfirmedAsync([Bind("Id")] string id) { await _respository.DeleteItemAsync(id); return(RedirectToAction("Index")); }