Created
January 30, 2019 13:54
-
-
Save evgomes/d13dc12c61ba95cc206ec48c8b6a3dc9 to your computer and use it in GitHub Desktop.
BaseResponse from Supermarket API
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
namespace Supermarket.API.Domain.Services.Communication | |
{ | |
public abstract class BaseResponse | |
{ | |
public bool Success { get; protected set; } | |
public string Message { get; protected set; } | |
public BaseResponse(bool success, string message) | |
{ | |
Success = success; | |
Message = message; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment