Skip to content

Instantly share code, notes, and snippets.

@PradeepLoganathan
Last active July 29, 2020 12:04
Show Gist options
  • Select an option

  • Save PradeepLoganathan/8d4892e9dcc808dbee1a7affe464b35a to your computer and use it in GitHub Desktop.

Select an option

Save PradeepLoganathan/8d4892e9dcc808dbee1a7affe464b35a to your computer and use it in GitHub Desktop.
ICatalogueRepository
public interface ICatalogueRepository
{
Task<Catalogue> Get(int id);
Task<IEnumerable<Catalogue>> GetAll();
Task<int> Add(Catalogue entity);
Task<bool> Delete(int id);
Task<bool> Update(Catalogue catalogueEntity);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment