This commit is contained in:
Stephan
2017-09-23 10:08:18 +02:00
parent c1e2625de0
commit 5ba2ffcbf3
224 changed files with 709 additions and 709 deletions

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.Serialization;
@@ -21,11 +21,11 @@ namespace Umbraco.Web.Models.ContentEditing
[DataMember(Name = "action", IsRequired = true)]
[Required]
public ContentSaveAction Action { get; set; }
[DataMember(Name = "alias", IsRequired = true)]
[Required]
public override string Alias { get; set; }
[DataMember(Name = "sections")]
public IEnumerable<string> Sections { get; set; }
@@ -74,7 +74,7 @@ namespace Umbraco.Web.Models.ContentEditing
yield return new ValidationResult("A permission value cannot be null or empty", new[] { "AssignedPermissions" });
}
}
}
}
}
}