public async Task <ActionResult> PostMessage( [FromForm] MessageModel message, [FromServices] DispatcherService dispatcherService) { await dispatcherService.SendMessage(message); return(Accepted()); }
public async Task <ActionResult> PostMessage( [FromForm] MessageModel message, [FromServices] DispatcherService dispatcherService) { await dispatcherService.SendMessage(message); return(Accepted()); }