Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Domain/Repositories/IEventoRepository.cs @ 1:6bb4ab4c0611
Tests de Crud para repositorio de Vans
author | nelopauselli |
---|---|
date | Sat, 22 Jan 2011 19:50:32 -0300 |
parents | 3f7dbb633b71 |
children | c03560ae4762 |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Domain/Repositories/IEventoRepository.cs Sat Jan 22 17:13:46 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Domain/Repositories/IEventoRepository.cs Sat Jan 22 19:50:32 2011 -0300 @@ -1,7 +1,21 @@ -namespace AltNetHispano.Agendas.Domain.Repositories +using System; + +namespace AltNetHispano.Agendas.Domain.Repositories { public interface IEventoRepository { void Save(Evento evento); + void Delete(Evento evento); + void Update(Evento evento); + } + + public interface IVanRepository : IEventoRepository + { + Van Get(Guid vanId); + } + + public interface ICafeRepository : IEventoRepository + { + Cafe Get(Guid vanId); } } \ No newline at end of file