summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaRepository.cs
blob: f3bface135a8e98683d418aab2013e530d0bda2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using Gestor.Infrastructure.Entities.Ferramentas;
using Gestor.Infrastructure.Repository.Generic;
using Gestor.Model.Domain.Ferramentas;
using System;
using System.Collections.Generic;

namespace Gestor.Infrastructure.Repository.Interface
{
	public interface IAgendaRepository : IGenericRepository<AgendaDb>
	{
		void Delete(long id);

		List<Agenda> Find(string value);

		List<Agenda> Find();

		Agenda FindById(long id);

		List<Agenda> FindByName(string filter);

		Agenda Merge(Agenda agenda);

		Agenda SaveOrUpdate(Agenda agenda);
	}
}