comparison Agendas/trunk/src/Agendas.Factories/AgendaFactory.cs @ 274:72a96459f910

Ticket #123: Patrocinadores de las vans.
author juanjose.montesdeocaarbos
date Wed, 30 Nov 2011 08:56:01 -0300
parents a36a76bd6ec3
children bf993f99cee3
comparison
equal deleted inserted replaced
273:a7420f05716a 274:72a96459f910
22 22
23 ISessionFactory sessionFactory = NhHelper.GetSessionFactory(); 23 ISessionFactory sessionFactory = NhHelper.GetSessionFactory();
24 return _agenda ?? 24 return _agenda ??
25 (_agenda = 25 (_agenda =
26 new Agenda(publicadores, new EventoRepository(sessionFactory), 26 new Agenda(publicadores, new EventoRepository(sessionFactory),
27 new PersonaRepository(sessionFactory))); 27 new PersonaRepository(sessionFactory),
28 new PatrocinadorRepository(sessionFactory)));
28 } 29 }
29 30
30 public static IPersonaRepository GetPersonaRepository() 31 public static IPersonaRepository GetPersonaRepository()
31 { 32 {
32 ISessionFactory sessionFactory = NhHelper.GetSessionFactory(); 33 ISessionFactory sessionFactory = NhHelper.GetSessionFactory();