Commit c276761c by Alex Nasyr

tr

parent 6124026f
Showing with 0 additions and 7 deletions
...@@ -44,13 +44,6 @@ namespace DDO_Application.Controllers { ...@@ -44,13 +44,6 @@ namespace DDO_Application.Controllers {
await _messageProducer.PublishAsync(@event); await _messageProducer.PublishAsync(@event);
return StatusCode((int)HttpStatusCode.Created, null); return StatusCode((int)HttpStatusCode.Created, null);
} }
[HttpPost]
[Route("[controller]/sendanothermsg/{msg}")]
public async Task<IActionResult> SendAnotherMessage(string msg) {
var @event = new OneMoreTestMessage { Id = 2, Message = msg };
await _messageProducer.PublishAsync(@event);
return StatusCode((int)HttpStatusCode.Created, null);
}
} }
public class apiStatus { public class apiStatus {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment