Ejemplo n.º 1
0
        public async Task <ValueResponse <IEnumerable <MagicItemDto>, StoreServiceResponseCode> > GetAllStockAsync()
        {
            var magicItems = await repo.GetMagicItemsAsync();

            return(new ValueResponse <IEnumerable <MagicItemDto>, StoreServiceResponseCode>
            {
                Value = magicItems
            });
        }