public ActionResult DeleteConfirmed(Guid id) { feedService.Delete(id); return(RedirectToAction("Index")); }
public async Task <ActionResult> Delete(string id) { await _feed.Delete(await _feed.FeedById(id)); return(Redirect("/feeds")); }