public FUTClub CreateClub(string clubname, string clubowner) { FUTClubDAL DAL = new FUTClubDAL(); return(DAL.Create(new FUTClub { name = clubname, owner = clubowner })); }
public static FUTClub GetByName(string club) { FUTClubDAL DAL = new FUTClubDAL(); return(DAL.GetByName(club)); }
public static List <FUTClub> GetMyClubs(string person) { FUTClubDAL DAL = new FUTClubDAL(); return(DAL.GetMyClubs(person)); }
public FUTClub AddPlayer(int playerid) { FUTClubDAL DAL = new FUTClubDAL(); return(DAL.AddPlayerToClub(this, playerid)); }
public static List <FUTClub> GetAll() { FUTClubDAL DAL = new FUTClubDAL(); return(DAL.GetAllClubs()); }