public void ApiPutMessage200() { var result = apiMessaging.ApiPut(1, testMessage1); Assert.AreEqual(200, result); }
public IActionResult Put(int id, [FromBody] Message message) { return(StatusCode(messaging.ApiPut(id, message))); }