Skip to content

Instantly share code, notes, and snippets.

@cerkit
Created March 24, 2014 20:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cerkit/9749015 to your computer and use it in GitHub Desktop.
Save cerkit/9749015 to your computer and use it in GitHub Desktop.
using RecordKeeper.Portable.Models;
using System.Collections.Generic;
namespace RecordKeeper.Data.Interfaces
{
public interface IRepository<TEntity> where TEntity : EntityBase
{
List<TEntity> GetAll();
TEntity Get(string id);
void Update(TEntity entity);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment