comparison 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
comparison
equal deleted inserted replaced
274:72a96459f910 275:bf993f99cee3
1 using System;
2 using System.Collections.Generic;
3 using System.ComponentModel.DataAnnotations;
4 using System.IO;
5 using System.Linq;
6 using System.Web;
7 using System.Web.Mvc;
8
9 namespace AltNetHispano.Agendas.Web.Models
10 {
11 public class PatrocinadorIndexModel
12 {
13 public IEnumerable<PatrocinadorDto> Items { get; set; }
14 }
15
16 public class PatrocinadorDto
17 {
18 public Guid Id { get; set; }
19 public string Nombre { get; set; }
20
21 }
22
23 public class PatrocinadorNewModel
24 {
25 [Required]
26 public string Nombre { get; set; }
27
28 [Required]
29 public HttpPostedFileBase Logo { get; set; }
30 }
31 }