Exemplo n.º 1
0
        public async Task <ICollection <HistoryData> > GetStoreHistory(string username, Guid storeId)
        {
            ICollection <IHistory> history = await marketStores.GetStoreHistory(username, storeId);

            ICollection <HistoryData> ret = new HashSet <HistoryData>();

            foreach (var h in history)
            {
                ret.Add(new HistoryData(h));
            }
            return(ret);
        }