Exemplo n.º 1
0
        public ActionResult DrawBoard(string board, string username)
        {
            if (username == null || board == null)
            {
                return(RedirectToAction("Index", new { board, username }));
            }

            ViewBag.isOwner = BoardData.CheckOwnershipOrCreate(board, username);

            return(View(new User {
                Board = board, Address = username
            }));
        }