Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Repositories.Memory/VanRepository.cs @ 2:c03560ae4762
Test de Crud para la agenda
author | nelopauselli |
---|---|
date | Sat, 22 Jan 2011 20:21:31 -0300 |
parents | |
children | 5f007e266509 |
comparison
equal
deleted
inserted
replaced
1:6bb4ab4c0611 | 2:c03560ae4762 |
---|---|
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 { | |
9 public Van Get(Guid vanId) | |
10 { | |
11 Evento evento; | |
12 return Eventos.TryGetValue(vanId, out evento) ? evento as Van : null; | |
13 } | |
14 } | |
15 } |