Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (20 sloc) 633 Bytes
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace AspNetIdentity.WebApi.Models
{
public class CreateRoleBindingModel
{
[Required]
[StringLength(256, ErrorMessage = "The {0} must be at least {2} characters long.", MinimumLength = 2)]
[Display(Name = "Role Name")]
public string Name { get; set; }
}
public class UsersInRoleModel {
public string Id { get; set; }
public List<string> EnrolledUsers { get; set; }
public List<string> RemovedUsers { get; set; }
}
}
You can’t perform that action at this time.