/// <summary> /// Updates the feedback. /// </summary> /// <param name="userID">The user ID.</param> /// <param name="feedbackInfo">The feedback info.</param> /// <returns></returns> public bool UpdateFeedback(string userID, Feedback feedbackInfo) { bool blnIsUpdated = false; FeedbackHandler objFeedbackHandler = null; try { objFeedbackHandler = new FeedbackHandler(); //updates the Feedback and sets the Flag. blnIsUpdated = objFeedbackHandler.UpdateFeedback(userID, feedbackInfo); } catch(Exception) { throw; } return blnIsUpdated; }
/// <summary> /// Sends the feed back mail. /// </summary> /// <param name="header">The header.</param> /// <param name="messageBody">The message body.</param> public void SendFeedBackMail(StringDictionary header, string messageBody) { FeedbackHandler objFeedBack = null; try { objFeedBack = new FeedbackHandler(); objFeedBack.SendAlertMail(header, messageBody); } catch(Exception) { throw; } }