diff Agendas/trunk/src/Agendas.Web/Models/PatrocinadorModel.cs @ 278:6f5ab71614d4

#125: ABM de patrocinadores.
author juanjose.montesdeocaarbos
date Wed, 21 Dec 2011 08:47:05 -0300
parents bf993f99cee3
children 48ab8788bd19
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/Models/PatrocinadorModel.cs	Tue Dec 20 08:28:33 2011 -0300
+++ b/Agendas/trunk/src/Agendas.Web/Models/PatrocinadorModel.cs	Wed Dec 21 08:47:05 2011 -0300
@@ -28,4 +28,17 @@
 		[Required]
 		public HttpPostedFileBase Logo { get; set; }
 	}
+
+	public class PatrocinadorEditModel
+	{
+		[HiddenInput(DisplayValue = false)]
+		public string Id { get; set; }
+
+		[Required]
+		[HiddenInput]
+		public string Nombre { get; set; }
+
+		[Required]
+		public HttpPostedFileBase Logo { get; set; }
+	}
 }
\ No newline at end of file