Generic abstraction for data access operations.

snippet
public interface IRepository {
	Task GetById(int id);
	Task> GetAll();
}