public async Task <ActionResult <IEnumerable <AppStoreItem> > > Get() { var storeItems = await _storeRepo.GetAllStoreItems(); if (storeItems != null) { var storeDTOs = storeItems.Select(x => new StoreDTO { PackId = x.PackId, PackQty = x.PackQty }); return(Ok(storeDTOs)); } return(NotFound()); }