summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Repository.Interface/IPermissaoUsuarioRepository.cs
blob: 07fd4fecd530da4f2fc7d39fa477f865f70afe9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using Gestor.Model.Common;
using Gestor.Model.Domain.Seguros;
using System;
using System.Collections.Generic;

namespace Gestor.Infrastructure.Repository.Interface
{
	public interface IPermissaoUsuarioRepository
	{
		PermissaoUsuario FindByPermissao(long id, TipoTela tela);

		List<PermissaoUsuario> FindByUsuario(long id);

		PermissaoUsuario Merge(PermissaoUsuario permissao);

		PermissaoUsuario SaveOrUpdate(PermissaoUsuario permissao);
	}
}