public ActionResult SaveSpecialMessage(long roomId, RoomMessage msg) { var apiResult = new APIResult(); try { RoomBll.SaveSpecialMessage(roomId, msg.MsgContent, msg.IsEnabled); } catch (Exception ex) { apiResult.Ret = -1; apiResult.Msg = ex.Message; if (!(ex is OperationExceptionFacade)) { LogFactory.GetLogger().Log(LogLevel.Error, ex); } } return(Json(apiResult)); }