Example #1
0
        public static List <SmallPlayer> Get()
        {
            PlayerDAL          DAL     = new PlayerDAL();
            List <SmallPlayer> players = DAL.GetPlayers();

            return(players);
        }
Example #2
0
        public static Player GetById(string id)
        {
            PlayerDAL DAL = new PlayerDAL();

            return(DAL.GetPlayer(id));
        }
Example #3
0
        public static List <Player> GetByName(string name)
        {
            PlayerDAL DAL = new PlayerDAL();

            return(DAL.GetPlayers(name));
        }
Example #4
0
        public static List <Player> GetFromClub(int id)
        {
            PlayerDAL DAL = new PlayerDAL();

            return(DAL.GetPlayersFromClub(id));
        }