protected SignalrResponse Success(string message = "ok") { var errorsRootObject = new SignalrResponse { Message = message, Success = true }; return(errorsRootObject); }
protected SignalrResponse Error(string errorMessage = "error", object errorData = null) { var errorsRootObject = new SignalrResponse { Message = errorMessage, Success = false, Data = errorData }; return(errorsRootObject); }