private async Task <ListTable> GetListInternal(ContextProvider contextProvider, string objectName, string listName, string parameter) { string key = Key(objectName, listName, parameter); ListTable list; byte[] listData = await contextProvider.BusinessProvider.GetData(key); if (listData == null) { BusinessBaseDecorator def = contextProvider.BusinessProvider.GetDecorator(contextProvider, objectName); list = def.GetList(contextProvider, listName, parameter); await contextProvider.BusinessProvider.StoreData(key, list.Serialize()); } else { list = new ListTable(contextProvider, listName, listData); } return(list); }
public AuthorFilter(ContextProvider contextProvider, BusinessBaseDecorator decorator) : base(contextProvider, decorator, 0) { }