public HttpResponseMessage Update(HttpRequestMessage request, MenuViewModel menu) { var id = menu.ID; //update the menu and return updated resource HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, new MenuViewModel()); return response; }
public HttpResponseMessage Add(HttpRequestMessage request, MenuViewModel menu) { //Add new menu items and return updated response HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, new MenuViewModel()); return response; }