AB4549 - Moved models from web to abstractions and infrastructure

This commit is contained in:
Bjarke Berg
2020-01-15 09:05:26 +01:00
parent 2c7c556c5f
commit 1e5c00878b
79 changed files with 5 additions and 89 deletions
@@ -0,0 +1,19 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
namespace Umbraco.Web.Models
{
[Serializable]
[DataContract(Name = "validatePasswordReset", Namespace = "")]
public class ValidatePasswordResetCodeModel
{
[Required]
[DataMember(Name = "userId", IsRequired = true)]
public int UserId { get; set; }
[Required]
[DataMember(Name = "resetCode", IsRequired = true)]
public string ResetCode { get; set; }
}
}