예제 #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());
        }