Migrating classes not inhering or having dependencies to EntityBasic

This commit is contained in:
Elitsa Marinovska
2020-10-27 15:42:59 +01:00
parent 507facbdaa
commit a6e0afe57d
21 changed files with 35 additions and 50 deletions

View File

@@ -0,0 +1,17 @@
using System.Collections.Generic;
namespace Umbraco.Web.Models.ContentEditing
{
public interface IErrorModel
{
/// <summary>
/// This is used for validation of a content item.
/// </summary>
/// <remarks>
/// A content item can be invalid but still be saved. This occurs when there's property validation errors, we will
/// still save the item but it cannot be published. So we need a way of returning validation errors as well as the
/// updated model.
/// </remarks>
IDictionary<string, object> Errors { get; set; }
}
}