public void TestNotParticipatedSave()
        {
            NotParticipated notParticipated = new NotParticipated();
            NotAttendedVolunteerFeedbackDTO notAttendedVolunteerFeedbackDTO = new NotAttendedVolunteerFeedbackDTO();

            notAttendedVolunteerFeedbackDTO.EventId      = "EVNT00047261";
            notAttendedVolunteerFeedbackDTO.EmployeeID   = "711876";
            notAttendedVolunteerFeedbackDTO.FeedbackText = "Test FeedBack";
            notParticipated.SaveNotAttendedVolunteerFeedback(notAttendedVolunteerFeedbackDTO);
        }
 public HttpResponseMessage Get(string EventId, string employeeId)
 {
     try
     {
         NotParticipated notParticipated = new NotParticipated();
         NotAttendedVolunteerFeedbackDTO notAttendedVolunteerFeedbackDTO = notParticipated.GetNotAttendedFeedback(EventId, employeeId);
         return(Request.CreateResponse(HttpStatusCode.OK, notAttendedVolunteerFeedbackDTO));
     }
     catch (Exception)
     {
         throw new HttpResponseException(HttpStatusCode.InternalServerError);
     }
 }
 public HttpResponseMessage Post(NotAttendedVolunteerFeedbackDTO notAttendedVolunteerFeedbackDTO)
 {
     try
     {
         NotParticipated notParticipated = new NotParticipated();
         notParticipated.SaveNotAttendedVolunteerFeedback(notAttendedVolunteerFeedbackDTO);
         return(Request.CreateResponse(HttpStatusCode.OK));
     }
     catch (Exception)
     {
         throw new HttpResponseException(HttpStatusCode.InternalServerError);
     }
 }