Skip to content

Instantly share code, notes, and snippets.

@anthonydotnet
Last active March 7, 2019 09:24
Show Gist options
  • Save anthonydotnet/4b91809eed790067501ea1dd48488fc5 to your computer and use it in GitHub Desktop.
Save anthonydotnet/4b91809eed790067501ea1dd48488fc5 to your computer and use it in GitHub Desktop.
IBaseCrudResponse
{
StatusCode StatusCode;
}
ICrudGetResponse<TEntity>: IBaseCrudReponse
{
TEntity Data;
}
ICrudQueryResponse<TEntity>: IBaseCrudReponse
{
IQueryable<TEntity> Data
}
ICrudCountResponse: IBaseCrudReponse
{
int Count;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment