public ActionResult Edit(EditBookmarkRequestModel model)
        {
            if (!this.ModelState.IsValid)
            {
                return View(model);
            }

            var bookmark = bookmarks.Edit(model.Id, model.Title, model.Description, model.Tags[0], this.UserId);

            return RedirectToAction("Details", new {id = bookmark.Id, title = bookmark.Title });
        }
        public ActionResult Edit(EditBookmarkRequestModel model)
        {
            if (!this.ModelState.IsValid)
            {
                return(View(model));
            }

            var bookmark = bookmarks.Edit(model.Id, model.Title, model.Description, model.Tags[0], this.UserId);

            return(RedirectToAction("Details", new { id = bookmark.Id, title = bookmark.Title }));
        }