Skip to content

Commit 00a44e1

Browse files
David BritchDavid Britch
authored andcommitted
Removed unused method.
1 parent e07f76d commit 00a44e1

3 files changed

Lines changed: 0 additions & 13 deletions

File tree

src/Mobile/eShopOnContainers/eShopOnContainers.Core/Services/Catalog/CatalogMockService.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,5 @@ public async Task<ObservableCollection<CatalogType>> GetCatalogTypeAsync()
6161

6262
return MockCatalogType;
6363
}
64-
65-
public async Task<CatalogItem> GetCatalogItemAsync(string id)
66-
{
67-
await Task.Delay(500);
68-
69-
return MockCatalog.FirstOrDefault(c => c.Id == id);
70-
}
7164
}
7265
}

src/Mobile/eShopOnContainers/eShopOnContainers.Core/Services/Catalog/CatalogService.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,6 @@ public async Task<ObservableCollection<CatalogItem>> GetCatalogAsync()
6060

6161
}
6262

63-
public Task<CatalogItem> GetCatalogItemAsync(string id)
64-
{
65-
throw new NotImplementedException();
66-
}
67-
6863
public async Task<ObservableCollection<CatalogBrand>> GetCatalogBrandAsync()
6964
{
7065

src/Mobile/eShopOnContainers/eShopOnContainers.Core/Services/Catalog/ICatalogService.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@ public interface ICatalogService
1010
Task<ObservableCollection<CatalogItem>> FilterAsync(int catalogBrandId, int catalogTypeId);
1111
Task<ObservableCollection<CatalogType>> GetCatalogTypeAsync();
1212
Task<ObservableCollection<CatalogItem>> GetCatalogAsync();
13-
Task<CatalogItem> GetCatalogItemAsync(string id);
1413
}
1514
}

0 commit comments

Comments
 (0)