public void Send(SignalRCommand command) { //RunWebSockets(command.Message).GetAwaiter().GetResult(); }
public IActionResult Socket([FromBody] SignalRCommand inputModel) { var jobId = BackgroundJob.Enqueue <ISignalRNotificationCommand>(x => x.Send(inputModel)); return(Ok(jobId)); }