Merge pull request #2236 from umbraco/temp-U4-10521

fixes: U4-10521 Creating new folders from the media picker no longer …
This commit is contained in:
Sebastiaan Janssen
2017-10-16 12:44:32 +02:00
committed by GitHub
6 changed files with 146 additions and 90 deletions

View File

@@ -0,0 +1,17 @@
using System.Runtime.Serialization;
namespace Umbraco.Web.Models.ContentEditing
{
/// <summary>
/// Used to create a folder with the MediaController
/// </summary>
[DataContract]
public class PostedFolder
{
[DataMember(Name = "parentId")]
public string ParentId { get; set; }
[DataMember(Name = "name")]
public string Name { get; set; }
}
}