blob: 47b295185862ccdccbb47f35cdcdb508f4310cf8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
using System;
using System.Collections.Generic;
using System.Web.UI;
using Marina.Presentation.DTO;
using Marina.Presentation.Presenters;
using Marina.Presentation.Views;
namespace Marina.Web.UI {
public partial class CurrentLeases : Page, ICurrentLeasesView {
protected void Page_Load( object sender, EventArgs e ) {
new CurrentLeasesPresenter( this ).Initialize( );
}
public void Display( IEnumerable< DisplayLeaseDTO > leases ) {
uxLeasesRepeater.DataSource = leases;
uxLeasesRepeater.DataBind( );
}
}
}
|