public ActionResult SaveBatchRoomStatus(long[] roomIds, string changeType, long EmployeeId = 0) { var apiResult = new APIResult(); try { RoomBll.SaveBatchRoomStatus(roomIds, changeType, EmployeeId); } catch (Exception ex) { apiResult.Ret = -1; apiResult.Msg = ex.Message; if (!(ex is OperationExceptionFacade)) { LogFactory.GetLogger().Log(LogLevel.Error, ex); } } return(Json(apiResult)); }