fixes command creation when form was invalid

This commit is contained in:
Paul Schneider 2017-01-23 09:16:31 +01:00
commit a9616f2c90

View file

@ -189,6 +189,7 @@ namespace Yavsc.Controllers
ViewBag.GoogleSettings = _googleSettings;
return View("CommandConfirmation",command);
}
ViewBag.Activity = _context.Activities.FirstOrDefault(a=>a.Code == command.ActivityCode);
ViewBag.GoogleSettings = _googleSettings;
return View(command);
}