public IEnumerable <Preference> GetPreferenceParticipantMeeting(int meetingId) { PreferenceParticipantMeeting ppm = new PreferenceParticipantMeeting(); return(ppm.GetPreferenceParticipantMeeting(meetingId)); }
// POST api/values //public void Post([FromBody]string value) public void Post([FromBody] PreferenceParticipantMeeting ppm) { ppm.insertPreferenceParticipantMeeting(); }