public static List <SmallPlayer> Get() { PlayerDAL DAL = new PlayerDAL(); List <SmallPlayer> players = DAL.GetPlayers(); return(players); }
public static Player GetById(string id) { PlayerDAL DAL = new PlayerDAL(); return(DAL.GetPlayer(id)); }
public static List <Player> GetByName(string name) { PlayerDAL DAL = new PlayerDAL(); return(DAL.GetPlayers(name)); }
public static List <Player> GetFromClub(int id) { PlayerDAL DAL = new PlayerDAL(); return(DAL.GetPlayersFromClub(id)); }