view Agendas/trunk/src/Agendas.Repositories.Memory/PersonaRepository.cs @ 198:cd96cfc8a1f5

Se agrega la fecha de termino a Google Calendar.
author alabra
date Mon, 15 Aug 2011 15:35:17 -0400
parents db4b1e2cae49
children
line wrap: on
line source

using System.Linq;
using AltNetHispano.Agendas.Domain;
using AltNetHispano.Agendas.Domain.Repositories;

namespace AltNetHispano.Agendas.Repositories.Memory
{
	public class PersonaRepository : RepositoryBase<Persona>, IPersonaRepository
	{
		public Persona GetByLogonName(string logonName)
		{
			return Objects.Values.SingleOrDefault(p => p.Cuentas.Any(c=>c.LogonName==logonName));

		}
	}
}