Migrated DomainsApiController

Moved action to exiting ContentController, moved viewmodels out into seperate files.
This commit is contained in:
James Coxhead
2018-06-01 21:39:29 +01:00
parent e26b8ae6d9
commit 87df9b8f04
7 changed files with 179 additions and 201 deletions

View File

@@ -0,0 +1,16 @@
namespace Umbraco.Web.Models.ContentEditing
{
public class DomainDisplay
{
public DomainDisplay(string name, int lang)
{
Name = name;
Lang = lang;
}
public string Name { get; }
public int Lang { get; }
public bool Duplicate { get; set; }
public string Other { get; set; }
}
}