Пример #1
0
        public void ApiPutMessage200()
        {
            var result = apiMessaging.ApiPut(1, testMessage1);

            Assert.AreEqual(200, result);
        }
Пример #2
0
 public IActionResult Put(int id, [FromBody] Message message)
 {
     return(StatusCode(messaging.ApiPut(id, message)));
 }