view Agendas/trunk/src/Agendas.Domain/Repositories/IEventoRepository.cs @ 15:08b9e96132a5

Persistimos los eventos de la agenda
author nelo@MTEySS.neluz.int
date Mon, 14 Mar 2011 00:14:09 -0300
parents 05996fa19e04
children 41b283d27e3e
line wrap: on
line source

using System;
using System.Collections.Generic;

namespace AltNetHispano.Agendas.Domain.Repositories
{
	public interface IEventoRepository
	{
		void Save(Evento evento);
		void Delete(Evento evento);
		void Update(Evento evento);
        Evento Get(Guid vanId);
		IList<Evento> GetEventosSinFecha();
		IList<Evento> GetEventosConFecha();
	}

	public interface IAgendaRepository
	{
		void Save(Agenda agenda);
		void Delete(Agenda agenda);
		void Update(Agenda agenda);
		Agenda Get(Guid agendaId);
	}
}