17 lines
436 B
C#
17 lines
436 B
C#
|
|
using System.Collections.Generic;
|
|||
|
|
|
|||
|
|
namespace Umbraco.Core.Models
|
|||
|
|
{
|
|||
|
|
public class SimpleValidationModel
|
|||
|
|
{
|
|||
|
|
public SimpleValidationModel(IDictionary<string, object> modelState, string message = "The request is invalid.")
|
|||
|
|
{
|
|||
|
|
Message = message;
|
|||
|
|
ModelState = modelState;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public string Message { get; }
|
|||
|
|
public IDictionary<string, object> ModelState { get; }
|
|||
|
|
}
|
|||
|
|
}
|