Mercurial > altnet-hispano
annotate Agendas/trunk/src/Agendas.Repositories.Memory/VanRepository.cs @ 8:cae27d7eb697
Se agregó ISeguridad para validar autenticaciones de usuarios.
Agenda.Proponer modificado para validar que solo pueden Proponer eventos
los usuarios autenticados.
author | juanjose.montesdeocaarbos |
---|---|
date | Sat, 12 Feb 2011 11:12:18 -0300 |
parents | 49b572535156 |
children |
rev | line source |
---|---|
2 | 1 using System; |
2 using AltNetHispano.Agendas.Domain; | |
3 using AltNetHispano.Agendas.Domain.Repositories; | |
4 | |
5 namespace Agendas.Repositories.Memory | |
6 { | |
7 public class VanRepository : EventoRepository, IVanRepository | |
8 { | |
3 | 9 #region IVanRepository Members |
10 | |
2 | 11 public Van Get(Guid vanId) |
12 { | |
13 Evento evento; | |
4 | 14 return Objects.TryGetValue(vanId, out evento) ? evento as Van : null; |
2 | 15 } |
3 | 16 |
17 #endregion | |
2 | 18 } |
19 } |