Esempio n. 1
0
        public static TokStorageItem GetTokStorageItem(LoginUser loginUser, int organizationID)
        {
            TokStorage tokStorage = new TokStorage(loginUser);

            tokStorage.LoadByOrganizationID(organizationID);
            if (tokStorage.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(tokStorage[0]);
            }
        }
Esempio n. 2
0
 public TokStorageItem(DataRow row, TokStorage tokStorage) : base(row, tokStorage)
 {
     _tokStorage = tokStorage;
 }