1 2 3 4 5 6 7 8 9 10 11 12 13
using Marina.Domain.Interfaces; namespace Marina.Domain.Repositories { public interface ICustomerRepository { ICustomer FindBy( long customerId ); ICustomer FindBy( string username ); void Save( ICustomer customer ); ICustomer NewCustomer(); } }