15 lines
419 B
C#
15 lines
419 B
C#
using BlazorApp.Shared.Models;
|
|
using BlazorApp.Shared.Models.Pagination;
|
|
|
|
namespace BlazorApp.Client.Interfaces
|
|
{
|
|
public interface ICustomerProxy
|
|
{
|
|
Task<PaginatedResult<Customer>> Query(int pageIndex = 0, int resultsPerPage = 10);
|
|
Task<bool> Save(Customer model);
|
|
Task<bool> Update(Customer model);
|
|
Task<bool> Delete(string id);
|
|
Task<Customer> Get(string id);
|
|
}
|
|
}
|