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 Search(CustomerSearchFilter filter); Customer Create(Customer customer); Customer Update(Customer customer); bool Delete(int id); bool Delete(int id, bool forceDelete); BulkResult Import(IEnumerable customers); IEnumerable GetNotes(int customerId); CustomerNote AddNote(int customerId, string text); }