public ActionResult AddBookmark(AddBookmark input) { var bookmark = new Bookmark { Notes = input.Notes, Url = input.Url }; SaveBookmark.Execute(bookmark); return RedirectToAction("Index"); }
public ViewResult AddBookmark() { var model = new AddBookmark(); return View(model); }