Mercurial > altnet-hispano
view 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 |
line wrap: on
line source
using System; using AltNetHispano.Agendas.Domain; using AltNetHispano.Agendas.Domain.Repositories; namespace Agendas.Repositories.Memory { public class VanRepository : EventoRepository, IVanRepository { public Van Get(Guid vanId) { Evento evento; return Eventos.TryGetValue(vanId, out evento) ? evento as Van : null; } } }