示例#1
0
        public ActionResult Edit(Artist model)
        {
            if (!ModelState.IsValid)
            {
                return(HttpNotFound());
            }

            _artistService.Edit(model);

            return(RedirectToRoute("ArtistDetails", new { id = model.Id }));
        }