Ejemplo n.º 1
0
        public ActionResult Create(TrainParam _trainparam)
        {
            if (ModelState.IsValid)
            {
                _TrainService.Insert(_trainparam);
                return(RedirectToAction("Index"));
            }

            return(View(_trainparam));
        }