Update to latest packages and show examples
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using GerstITS.Data;
|
||||
using GerstITS.Search;
|
||||
|
||||
namespace GerstITS.Examples.Logic.Customers;
|
||||
|
||||
public interface ICustomerProvider
|
||||
{
|
||||
Customer GetById(int id);
|
||||
Customer GetById(int id, bool includeInactive);
|
||||
|
||||
SearchResult<Customer> Search(CustomerSearchFilter filter);
|
||||
|
||||
Customer Create(Customer customer);
|
||||
Customer Update(Customer customer);
|
||||
|
||||
bool Delete(int id);
|
||||
bool Delete(int id, bool forceDelete);
|
||||
|
||||
BulkResult Import(IEnumerable<Customer> customers);
|
||||
|
||||
IEnumerable<CustomerNote> GetNotes(int customerId);
|
||||
CustomerNote AddNote(int customerId, string text);
|
||||
}
|
||||
Reference in New Issue
Block a user