예제 #1
0
 public IActionResult Index()
 {
     Log.Information($"Sending data from controller - {DateTime.Now.ToString()}");
     _queue.Send(DateTime.Now.ToString());;
     Log.Information($"Sending data from controller successful.");
     return(Ok());
 }