blob: a776f528cf0b705ef292bf1e41207a5b5c4cc7cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
using Marina.Domain.Interfaces;
using Marina.Presentation.DTO;
namespace Marina.Task.Mappers {
public class LeaseToDtoMapper : ILeaseToDtoMapper {
public DisplayLeaseDTO MapFrom( ISlipLease input ) {
return new DisplayLeaseDTO( input.Slip( ).ID( ).ToString( ),
input.StartDate( ).ToString( ),
input.ExpiryDate( ).ToString( ) );
}
}
}
|