You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
328 B
14 lines
328 B
namespace Common.Model.Validator
|
|
{
|
|
public class ValidationResponse
|
|
{
|
|
public bool IsValid { get; set; }
|
|
public string Message { get; set; }
|
|
|
|
public void SetResponse(bool isValid, string message)
|
|
{
|
|
this.IsValid = isValid;
|
|
this.Message = message;
|
|
}
|
|
}
|
|
}
|