Exemplo n.º 1
0
        public ActionResult Edit(int id)
        {
            var model = service.GetBookViewModel(id);

            model.AuthorsSelectList = authorHelper.GetAuthorSelectList(id);
            return(View(model));
        }