annotate Agendas/trunk/src/Agendas.Domain/Repositories/IEventoRepository.cs @ 2:c03560ae4762

Test de Crud para la agenda
author nelopauselli
date Sat, 22 Jan 2011 20:21:31 -0300
parents 6bb4ab4c0611
children 05996fa19e04
rev   line source
1
6bb4ab4c0611 Tests de Crud para repositorio de Vans
nelopauselli
parents: 0
diff changeset
1 using System;
6bb4ab4c0611 Tests de Crud para repositorio de Vans
nelopauselli
parents: 0
diff changeset
2
6bb4ab4c0611 Tests de Crud para repositorio de Vans
nelopauselli
parents: 0
diff changeset
3 namespace AltNetHispano.Agendas.Domain.Repositories
0
3f7dbb633b71 Test sobre la publicación de Eventos al registrarlos en la Agenda
nelopauselli
parents:
diff changeset
4 {
3f7dbb633b71 Test sobre la publicación de Eventos al registrarlos en la Agenda
nelopauselli
parents:
diff changeset
5 public interface IEventoRepository
3f7dbb633b71 Test sobre la publicación de Eventos al registrarlos en la Agenda
nelopauselli
parents:
diff changeset
6 {
3f7dbb633b71 Test sobre la publicación de Eventos al registrarlos en la Agenda
nelopauselli
parents:
diff changeset
7 void Save(Evento evento);
1
6bb4ab4c0611 Tests de Crud para repositorio de Vans
nelopauselli
parents: 0
diff changeset
8 void Delete(Evento evento);
6bb4ab4c0611 Tests de Crud para repositorio de Vans
nelopauselli
parents: 0
diff changeset
9 void Update(Evento evento);
6bb4ab4c0611 Tests de Crud para repositorio de Vans
nelopauselli
parents: 0
diff changeset
10 }
6bb4ab4c0611 Tests de Crud para repositorio de Vans
nelopauselli
parents: 0
diff changeset
11
6bb4ab4c0611 Tests de Crud para repositorio de Vans
nelopauselli
parents: 0
diff changeset
12 public interface IVanRepository : IEventoRepository
6bb4ab4c0611 Tests de Crud para repositorio de Vans
nelopauselli
parents: 0
diff changeset
13 {
6bb4ab4c0611 Tests de Crud para repositorio de Vans
nelopauselli
parents: 0
diff changeset
14 Van Get(Guid vanId);
6bb4ab4c0611 Tests de Crud para repositorio de Vans
nelopauselli
parents: 0
diff changeset
15 }
6bb4ab4c0611 Tests de Crud para repositorio de Vans
nelopauselli
parents: 0
diff changeset
16
6bb4ab4c0611 Tests de Crud para repositorio de Vans
nelopauselli
parents: 0
diff changeset
17 public interface ICafeRepository : IEventoRepository
6bb4ab4c0611 Tests de Crud para repositorio de Vans
nelopauselli
parents: 0
diff changeset
18 {
6bb4ab4c0611 Tests de Crud para repositorio de Vans
nelopauselli
parents: 0
diff changeset
19 Cafe Get(Guid vanId);
0
3f7dbb633b71 Test sobre la publicación de Eventos al registrarlos en la Agenda
nelopauselli
parents:
diff changeset
20 }
2
c03560ae4762 Test de Crud para la agenda
nelopauselli
parents: 1
diff changeset
21
c03560ae4762 Test de Crud para la agenda
nelopauselli
parents: 1
diff changeset
22 public interface IAgendaRepository
c03560ae4762 Test de Crud para la agenda
nelopauselli
parents: 1
diff changeset
23 {
c03560ae4762 Test de Crud para la agenda
nelopauselli
parents: 1
diff changeset
24 void Save(Agenda agenda);
c03560ae4762 Test de Crud para la agenda
nelopauselli
parents: 1
diff changeset
25 void Delete(Agenda agenda);
c03560ae4762 Test de Crud para la agenda
nelopauselli
parents: 1
diff changeset
26 void Update(Agenda agenda);
c03560ae4762 Test de Crud para la agenda
nelopauselli
parents: 1
diff changeset
27 Agenda Get(Guid agendaId);
c03560ae4762 Test de Crud para la agenda
nelopauselli
parents: 1
diff changeset
28 }
0
3f7dbb633b71 Test sobre la publicación de Eventos al registrarlos en la Agenda
nelopauselli
parents:
diff changeset
29 }