Example #1
0
        public static void SaveFeedback(Guid userID, string comment)
        {
            ClimberProfile climberProfile = new ClimberProfileDA().GetByID(userID);

            new FeedbackDA().Insert(new Feedback
            {
                DateTimePosted    = DateTime.Now,
                UserID            = userID,
                FeedbackFromUser  = comment,
                ResponseFromAdmin = ""
            });

            MailMan.SendFeedbackAlertEmail(climberProfile.Email, climberProfile.FullName, comment);
        }