public JsonResult Receive() { try { RabbitMqService obj = new RabbitMqService(); string userqueue = Session["username"].ToString(); string message = obj.ReceiveMessage(userqueue); return(Json(message)); } catch (Exception) { return(null); } }
public JsonResult Receive() { try { RabbitMqService obj = new RabbitMqService(); string userqueue = Session["username"].ToString(); string message = obj.ReceiveMessage(userqueue); return(Json(message)); } catch (Exception) { return(null); } }