示例#1
0
        public FUTClub CreateClub(string clubname, string clubowner)
        {
            FUTClubDAL DAL = new FUTClubDAL();

            return(DAL.Create(new FUTClub {
                name = clubname, owner = clubowner
            }));
        }
示例#2
0
        public static FUTClub GetByName(string club)
        {
            FUTClubDAL DAL = new FUTClubDAL();

            return(DAL.GetByName(club));
        }
示例#3
0
        public static List <FUTClub> GetMyClubs(string person)
        {
            FUTClubDAL DAL = new FUTClubDAL();

            return(DAL.GetMyClubs(person));
        }
示例#4
0
        public FUTClub AddPlayer(int playerid)
        {
            FUTClubDAL DAL = new FUTClubDAL();

            return(DAL.AddPlayerToClub(this, playerid));
        }
示例#5
0
        public static List <FUTClub> GetAll()
        {
            FUTClubDAL DAL = new FUTClubDAL();

            return(DAL.GetAllClubs());
        }