summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IEmpresaRepository.cs
blob: 1b30b68e9326a0d449a47df449603f1d6405c32b (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
30
31
32
using Gestor.Infrastructure.Entities.Common;
using Gestor.Infrastructure.Repository.Generic;
using Gestor.Model.Domain.Common;
using Gestor.Model.Domain.Seguros;
using System;
using System.Collections.Generic;

namespace Gestor.Infrastructure.Repository.Interface
{
	public interface IEmpresaRepository : IGenericRepository<EmpresaDb>
	{
		string BuscarSenhaAdm(long idempresa = 1L);

		double ConsultaEspacoBancoInGb();

		void Delete(long id);

		List<Empresa> Find(long idempresa = 0L);

		List<Cliente> FindAsCliente(string filter);

		Empresa FindByDocumento(string documento);

		Empresa FindById(long id);

		Empresa FindBySerial(string serial);

		Empresa Merge(Empresa empresa);

		Empresa SaveOrUpdate(Empresa empresa);
	}
}