コード例 #1
0
        /// <summary>
        /// Group stuff
        /// </summary>
        public Club CreateClub(Club club)
        {
            Club newClub = new ClubDA().Insert( club );

            AddClubAreaTag(newClub.ID, GetAreaTagForCountry((Nation)newClub.CountryID).ID);

            CFLogger.RecordClubCreate(CurrentClimber.ID, club.Name, club.ID);

            CFDataCache.CacheAllClubs();

            return club;
        }
コード例 #2
0
 public Club UpdateClub(Club club)
 {
     return new ClubDA().Update(club);
 }