Skip to content

Instantly share code, notes, and snippets.

@uzbekdev1
Created January 8, 2022 12:29
Show Gist options
  • Save uzbekdev1/f389f142873f1133abc9e610db0e2b83 to your computer and use it in GitHub Desktop.
Save uzbekdev1/f389f142873f1133abc9e610db0e2b83 to your computer and use it in GitHub Desktop.
Minimally rest api response
public class RestReponseDto<T> where T:class
{
string ErrorMessage{get;set;}
bool IsSuccess{get;set;}
T ResultData{get;set;}
}
public class RestReponseDto : RestReponseDto<object>
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment