Beispiel #1
0
 public ActionResult AddNewGame(GameModel data)
 {
     if (data.AddNewGame(User.Identity.Name))
     {
         return(RedirectToAction("SpielAnlegen", "MySpace", new { result = true }));
     }
     else
     {
         return(RedirectToAction("SpielAnlegen", "MySpace", new { result = false }));
     }
 }