Пример #1
0
        public ActionResult EditPlayer(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            PlaayersVm blogArticleBm = service.EditPlayer(id);

            if (blogArticleBm == null)
            {
                return(HttpNotFound());
            }
            return(View(blogArticleBm));
        }