src/AspNetCore/Identity/Identity.Abstractions/src/AccountManaging/Controllers/Datransjects/Converters/RoleEntityExtensions.cs
/// <summary>
/// Creates role view from role entity.
/// </summary>
/// <param name="roleEntity"></param>
/// <returns></returns>
Creates role view from role entity.
Creates role view from role entity .
public static RoleCreationDatatransject ToRoleCreation(this RoleEntity roleEntity)
        {
            return new RoleCreationDatatransject() {
                RoleName = roleEntity.Name
            };
        }
public static RoleCreationDatatransject ToRoleCreation ( this RoleEntity roleEntity ) { return new RoleCreationDatatransject ( ) { RoleName = roleEntity . Name } ; }
Creates role view from role entity.
Creates role view from role entity .
None
RoleEntity
this
roleEntity
None