//[RestAuthenticationAttribute] public IEnumerable <VehicleCommonInfo> GetUserVehiclesInfo(GetUserVehiclesInfoRequest request) { BLUser userData = new BLUser(); request.DecodeAuthToken(); IEnumerable <VehicleCommonInfo> vehicleInfoList = null; //userData = GlobalData.GetSessionProperty(request.SID, userData.GetType()); userData = CachingLayer.GetCacheObjectByType(request.SID, userData.GetType()); if (userData != null) { vehicleInfoList = userData.GetOnlineVehiclesInfo(false, string.Empty).Tables[0].DataTableToList <VehicleCommonInfo>(); } return(vehicleInfoList); }