data refactor (#27)

* Refactoring to move data access code into Infrastructure project

* Fixing namespaces
This commit is contained in:
Steve Smith authored and GitHub committed 2017-08-07 10:08:41 -04:00
1 parent b67f8cc050
commit 084db74c77
9 files changed
+17 -18

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.eShopWeb.ViewModels;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Microsoft.eShopWeb.Services
{
public interface ICatalogService
{
Task<Catalog> GetCatalogItems(int pageIndex, int itemsPage, int? brandID, int? typeId);
Task<IEnumerable<SelectListItem>> GetBrands();
Task<IEnumerable<SelectListItem>> GetTypes();
}
}