diff Agendas/trunk/src/Agendas.Factories/AgendaFactory.cs @ 15:08b9e96132a5

Persistimos los eventos de la agenda
author nelo@MTEySS.neluz.int
date Mon, 14 Mar 2011 00:14:09 -0300
parents
children 74eb4577d447
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Agendas/trunk/src/Agendas.Factories/AgendaFactory.cs	Mon Mar 14 00:14:09 2011 -0300
@@ -0,0 +1,15 @@
+using Agendas.Repositories.Memory;
+using AltNetHispano.Agendas.Domain;
+
+namespace Agendas.Factories
+{
+    public static class AgendaFactory
+    {
+		private static readonly Agenda Agenda = new Agenda(null, null, null, new EventoRepository());
+
+        public static Agenda GetAgenda()
+        {
+            return Agenda;
+        }
+    }
+}
\ No newline at end of file