Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Repositories.Memory/VanRepository.cs @ 3:5f007e266509
code cleanup
author | nelopauselli |
---|---|
date | Sat, 22 Jan 2011 20:23:50 -0300 |
parents | c03560ae4762 |
children | 49b572535156 |
comparison
equal
deleted
inserted
replaced
2:c03560ae4762 | 3:5f007e266509 |
---|---|
4 | 4 |
5 namespace Agendas.Repositories.Memory | 5 namespace Agendas.Repositories.Memory |
6 { | 6 { |
7 public class VanRepository : EventoRepository, IVanRepository | 7 public class VanRepository : EventoRepository, IVanRepository |
8 { | 8 { |
9 #region IVanRepository Members | |
10 | |
9 public Van Get(Guid vanId) | 11 public Van Get(Guid vanId) |
10 { | 12 { |
11 Evento evento; | 13 Evento evento; |
12 return Eventos.TryGetValue(vanId, out evento) ? evento as Van : null; | 14 return Eventos.TryGetValue(vanId, out evento) ? evento as Van : null; |
13 } | 15 } |
16 | |
17 #endregion | |
14 } | 18 } |
15 } | 19 } |