summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IAgendaTelefoneRepository.cs
blob: 809c6f92f7e75e9022640d1215a2449725d0f5c8 (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
26
27
28
29
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 IAgendaTelefoneRepository : IGenericRepository<AgendaTelefoneDb>
	{
		void Delete(long id);

		List<AgendaTelefone> Find(string telefone);

		List<AgendaTelefone> FindByAgendaId(long id);

		AgendaTelefone FindById(long id);

		List<AgendaTelefone> Inserir(List<AgendaTelefone> telefones);

		List<AgendaTelefone> Inserir(List<AgendaTelefone> telefones, Agenda agenda);

		AgendaTelefone Merge(AgendaTelefone telefone);

		List<AgendaTelefone> Merge(List<AgendaTelefone> telefones, Agenda agenda);

		AgendaTelefone SaveOrUpdate(AgendaTelefone telefone);
	}
}