Skip to content

Instantly share code, notes, and snippets.

@sfmskywalker
Created November 2, 2019 08:21
Show Gist options
  • Save sfmskywalker/d4bfbb1c7ed6b4133f60c2150b9dce45 to your computer and use it in GitHub Desktop.
Save sfmskywalker/d4bfbb1c7ed6b4133f60c2150b9dce45 to your computer and use it in GitHub Desktop.
RegistrationModel - Building Workflow Driven .NET Core Applications with Elsa
using System.ComponentModel.DataAnnotations;
namespace Elsa.Samples.UserRegistration.Web.Models
{
public class RegistrationModel
{
[Required]
public string Name { get; set; }
[Required]
public string Email { get; set; }
[Required]
public string Password { get; set; }
[Compare(nameof(Password))]
public string RepeatPassword { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment