17 lines
494 B
C#
17 lines
494 B
C#
using Microsoft.AspNetCore.Mvc.Rendering;
|
|
using Microsoft.eShopOnContainers.WebMVC.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Microsoft.eShopOnContainers.WebMVC.Services
|
|
{
|
|
public interface ICatalogService
|
|
{
|
|
Task<Catalog> GetCatalogItems(int page, int take, int? brand, int? type);
|
|
Task<IEnumerable<SelectListItem>> GetBrands();
|
|
Task<IEnumerable<SelectListItem>> GetTypes();
|
|
}
|
|
}
|