Skip to content

Instantly share code, notes, and snippets.

@komainu85
Created March 20, 2015 13:19
Show Gist options
  • Save komainu85/131e0e1b80abfe0bf4a4 to your computer and use it in GitHub Desktop.
Save komainu85/131e0e1b80abfe0bf4a4 to your computer and use it in GitHub Desktop.
ICustomRepositoryActions
public class EntityRespository :ICustomRepositoryActions<Entity>
{
public IQueryable<Entity> GetAll()
{
throw new NotImplementedException();
}
public Entity FindById(string id)
{
throw new NotImplementedException();
}
public void Add(Entity entity)
{
throw new NotImplementedException();
}
public bool Exists(Entity entity)
{
throw new NotImplementedException();
}
public void Update(Entity entity)
{
throw new NotImplementedException();
}
public void Delete(Entity entity)
{
throw new NotImplementedException();
}
public string DoSometingCustom()
{
return "Hello, World. I am a custom action";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment