* udated to .net6 * used the .net6 version RC2 * added editconfig. * App core new Scoped Namespaces style. * BlazorAdmin new Scoped Namespaces style. * Blazor Shared new Scoped Namespaces style. * Infra new Scoped Namespaces style. * public api new Scoped Namespaces style. * web new Scoped Namespaces style. * FunctionalTests new Scoped Namespaces style. * Integrational tests new Scoped Namespaces style. * unit tests new Scoped Namespaces style. * update github action. * update github action. * change the global.
16 lines
454 B
C#
16 lines
454 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using BlazorShared.Models;
|
|
|
|
namespace BlazorShared.Interfaces;
|
|
|
|
public interface ICatalogItemService
|
|
{
|
|
Task<CatalogItem> Create(CreateCatalogItemRequest catalogItem);
|
|
Task<CatalogItem> Edit(CatalogItem catalogItem);
|
|
Task<string> Delete(int id);
|
|
Task<CatalogItem> GetById(int id);
|
|
Task<List<CatalogItem>> ListPaged(int pageSize);
|
|
Task<List<CatalogItem>> List();
|
|
}
|