oclockvn
6/12/2015 - 2:52 PM

repository-interface.cs

public interface IGenericRepository<T> where T : class
{
	IEnumerable<T> SelectAll();
	T SelectById(object id);
	void Insert(T obj);
	void Update(T obj);
	void Delete(object id);
	void Save();
}