view Agendas/trunk/src/Agendas.Factories/AgendaFactory.cs @ 60:02e163f2ca38

Refactoring de test de crud del evento
author nelopauselli
date Mon, 16 May 2011 21:40:40 -0300
parents 3ebe89c88caa
children c8099df941bd
line wrap: on
line source

using AltNetHispano.Agendas.Domain;
using AltNetHispano.Agendas.Repositories.Memory;

namespace AltNetHispano.Agendas.Factories
{
    public static class AgendaFactory
    {
    	private static Agenda _agenda;

        public static Agenda GetAgenda()
        {
            return _agenda ?? (_agenda = new Agenda(null, null, new EventoRepository(), new PonenteRepository()));
        }
    }
}