Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Repositories.Memory/AgendaRepository.cs @ 3:5f007e266509
code cleanup
author | nelopauselli |
---|---|
date | Sat, 22 Jan 2011 20:23:50 -0300 |
parents | c03560ae4762 |
children | 49b572535156 |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Repositories.Memory/AgendaRepository.cs Sat Jan 22 20:21:31 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Repositories.Memory/AgendaRepository.cs Sat Jan 22 20:23:50 2011 -0300 @@ -9,6 +9,8 @@ { protected static readonly IDictionary<Guid, Agenda> Agendas = new Dictionary<Guid, Agenda>(); + #region IAgendaRepository Members + public void Save(Agenda agenda) { if (Guid.Empty.Equals(agenda.Id)) @@ -32,7 +34,8 @@ { Agenda agenda; return Agendas.TryGetValue(agendaId, out agenda) ? agenda : null; + } - } + #endregion } } \ No newline at end of file