I feel like an idiot for asking but I know how to build a client side PUT request I also know how to create the operation contract for it but I dont actually know what to do for the service?
For instance if I was to POST student information I would do this:
public void AddStudent(Student student)
{
students.Add(student);
}
But for an update or PUT I dont see anything when I type students, there isnt anything that looks like it could be it?
I know that I would first have to find the student of which I want to update, which would be set by the studentID, then I would want a string for whatever I would want to update. Apart from add or remove I dont really know how to achieve “updating”. Has anyone got any example code?
You can pass the student as a parameter