コード例 #1
0
        public void SendClimberWatchRequest(Guid watchedUserID, Guid watchingUserID)
        {
            FeedClimberChannelRequest watchedClimberEntry = new FeedClimberChannelRequestDA().Insert(
                new FeedClimberChannelRequest()
            {
                WatchedUserID  = watchedUserID,
                WatchingUserID = watchingUserID, RequestedDateTime = DateTime.Now
            });

            MailMan.SendWatchRequestEmail(watchedClimberEntry.ID, CFDataCache.GetClimberFromCache(watchingUserID),
                                          CFDataCache.GetClimberFromCache(watchedUserID));
        }