diff Agendas/trunk/src/Agendas.Web/Models/PatrocinadorModel.cs @ 275:bf993f99cee3

Ticket #123: Patrocinadores de las vans.
author juanjose.montesdeocaarbos
date Wed, 14 Dec 2011 08:15:44 -0300
parents
children 6f5ab71614d4
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Agendas/trunk/src/Agendas.Web/Models/PatrocinadorModel.cs	Wed Dec 14 08:15:44 2011 -0300
@@ -0,0 +1,31 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+using System.IO;
+using System.Linq;
+using System.Web;
+using System.Web.Mvc;
+
+namespace AltNetHispano.Agendas.Web.Models
+{
+	public class PatrocinadorIndexModel
+	{
+		public IEnumerable<PatrocinadorDto> Items { get; set; }
+	}
+
+	public class PatrocinadorDto
+	{
+		public Guid Id { get; set; }
+		public string Nombre { get; set; }
+		
+	}
+
+	public class PatrocinadorNewModel
+	{
+		[Required]
+		public string Nombre { get; set; }
+
+		[Required]
+		public HttpPostedFileBase Logo { get; set; }
+	}
+}
\ No newline at end of file