public IPostResponse CreateSomething([FromContent] FromContentData data) { Debug.WriteLine($"Received counter value of {data.Counter}"); return(new PostResponse(PostResponse.ResponseStatus.Created, $"fromcontent/{data.Counter}")); }
public IPutResponse UpdateSomething([FromContent] FromContentData data) { Debug.WriteLine($"Received counter value of {data.Counter}"); return(new PutResponse(PutResponse.ResponseStatus.OK)); }