Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq.Expressions;
- using System.Threading.Tasks;
- namespace Cooperchip.ITDeveloper.Domain.Repositories.Base
- {
- public interface IRepositoryCooperchip<TEntity, TKey> : IDisposable
- where TEntity : class
- {
- Task<List<TEntity>> SelecionarTodos(Expression<Func<TEntity, bool>> quando = null);
- TEntity SelecionarPorId(TKey id);
- void Inserir(TEntity obj);
- void Atualizar(TEntity obj);
- void Excluir(TEntity obj);
- void ExcluirPorId(TKey id);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement