diff options
Diffstat (limited to 'slips/src/app/Marina.Web.UI/ViewRegisteredBoats.aspx.cs')
| -rw-r--r-- | slips/src/app/Marina.Web.UI/ViewRegisteredBoats.aspx.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/slips/src/app/Marina.Web.UI/ViewRegisteredBoats.aspx.cs b/slips/src/app/Marina.Web.UI/ViewRegisteredBoats.aspx.cs new file mode 100644 index 0000000..ab9bd77 --- /dev/null +++ b/slips/src/app/Marina.Web.UI/ViewRegisteredBoats.aspx.cs @@ -0,0 +1,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 ViewRegisteredBoats : Page, IRegisteredBoatsView {
+ protected void Page_Load( object sender, EventArgs e ) {
+ new ViewRegisteredBoatsPresenter( this ).Initialize( );
+ }
+
+ public void Display( IEnumerable< BoatRegistrationDTO > boats ) {
+ uxBoatsRepeater.DataSource = boats;
+ uxBoatsRepeater.DataBind( );
+ }
+ }
+}
\ No newline at end of file |
