public void AddPlayer(string name, string address, string phone, string email) { Player player = new Player { Name = name, Address = address, Phone = phone, Email = email }; //next version, check for player's existence before adding //hello hello PlayerDAL.GetInstance().Add(player); }
public Player GetPlayerByName(string name) { return(PlayerDAL.GetInstance().GetByName(name)); }
public List <Player> GetAllPlayers() { return(PlayerDAL.GetInstance().GetAllPlayers()); }