Rename management API from Umbraco.Cms.ManagementApi to Umbraco.Cms.Api.Management (#13512)

This commit is contained in:
Kenn Jacobsen
2022-12-02 11:33:02 +01:00
committed by GitHub
parent 0b95d5e1e5
commit bc94b2e16c
232 changed files with 480 additions and 478 deletions

View File

@@ -0,0 +1,21 @@
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Umbraco.Cms.Api.Management.ViewModels.Installer;
public class UserInstallViewModel
{
[Required]
[StringLength(255)]
public string Name { get; set; } = null!;
[Required]
[EmailAddress]
public string Email { get; set; } = null!;
[Required]
[PasswordPropertyText]
public string Password { get; set; } = null!;
public bool SubscribeToNewsletter { get; }
}