コード例 #1
0
        public ActionResult Create(CreateSeriesViewModel model)
        {
            Series series = new Series
            {
                Name = model.Name
            };

            seriesRepository.Create(series);
            return(RedirectToAction("Index"));
        }