summaryrefslogtreecommitdiff
path: root/slips/src/app/Marina/DataAccess/DataMappers/ILeaseDataMapper.cs
blob: c7134d7c188f1f08bdc09da9e8e6005d46673f25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System.Collections.Generic;
using Marina.Domain.Interfaces;

namespace Marina.DataAccess.DataMappers {
	public interface ILeaseDataMapper {
		IEnumerable< ISlipLease > AllLeasesFor( long customerId );

		void Insert( IEnumerable< ISlipLease > leases, long forCustomerId );

		void Update( IEnumerable< ISlipLease > leases, long forCustomerId );

		bool IsLeased( long slipId );
	}
}