Created
December 2, 2016 04:50
-
-
Save u3k/d1040c23cec6fa81efe9b6c20a0cb05d to your computer and use it in GitHub Desktop.
This file contains hidden or 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 EBT.SOF.DTO | |
{ | |
public class SessionDto | |
{ | |
public long Id { get; set; } | |
.... | |
public ValidationResultDto ValidationResult { get; set; } | |
} | |
public class ValidationResultDto | |
{ | |
public bool IsValid { get; set; } | |
public List<ValidationMessageDto> Errors { get; set; } | |
public List<ValidationMessageDto> Warnings { get; set; } | |
} | |
public class ValidationMessageDto | |
{ | |
public string Type { get; set; } | |
public string Message { get; set; } | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment