view 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
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
	{
		#region IVanRepository Members

		public Van Get(Guid vanId)
		{
			Evento evento;
			return Eventos.TryGetValue(vanId, out evento) ? evento as Van : null;
		}

		#endregion
	}
}