Пример #1
0
 public ActionResult DeleteConfirmed(Guid id)
 {
     feedService.Delete(id);
     return(RedirectToAction("Index"));
 }
Пример #2
0
        public async Task <ActionResult> Delete(string id)
        {
            await _feed.Delete(await _feed.FeedById(id));

            return(Redirect("/feeds"));
        }