Ejemplo n.º 1
0
        public ActionResult Create(Mission model)
        {
            mission m = new mission
            {
                Place      = model.Place,
                Start_date = model.Start_date,
                End_date   = model.End_date
            };

            missionService.Add(m);
            missionService.Commit();

            return(RedirectToAction("Index"));
        }