Exemple #1
0
        public ActionResult Create(Player Create)
        {
            Player _Create = new Player();

            _PlayerDataAccess.CreatePlayer();
            return(View());
        }
        public ActionResult CreatePlayers(Player _playerToCreate)
        {
            _playerdataaccess.CreatePlayer(_mapper.Map(_playerToCreate));

            return(RedirectToAction("ViewPlayers"));
        }