Beispiel #1
0
        public ActionResult Update(Guid id)
        {
            UpdateRaceWM model = new UpdateRaceWM();

            Race cins = _raceService.GetByID(id);

            model.ID = cins.ID;
            model.raceDTO.RaceName       = cins.RaceName;
            model.raceDTO.SeoTitle       = cins.SeoTitle;
            model.raceDTO.SeoDescription = cins.SeoDescription;
            model.Pettypes = _PettypeService.GetActive();
            return(View(model));
        }