Last active
October 10, 2017 08:05
-
-
Save mczachurski/30ce4d6d606254cbb45097f9a960fb19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Response | |
{ | |
public object Data { get; set; } | |
public string StatusCode { get; set; } | |
public string ErrorMessage { get; set; } | |
public Response(object data) | |
{ | |
StatusCode = "Success"; | |
Data = data; | |
} | |
public Response(string statusCode, string errorMessage) | |
{ | |
StatusCode = statusCode; | |
ErrorMessage = errorMessage; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment