mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
673 B
27 lines
673 B
using System;
|
|
using System.Collections.Generic;
|
|
using Volo.Abp.DependencyInjection;
|
|
|
|
namespace Volo.Abp.Users
|
|
{
|
|
public class AbpUsersExternalTestData : ISingletonDependency
|
|
{
|
|
public IAbpUserData David { get; }
|
|
public IAbpUserData Neo { get; }
|
|
|
|
public AbpUsersExternalTestData(AbpUsersLocalTestData localTestData)
|
|
{
|
|
Neo = new AbpUserData(Guid.NewGuid(), "neo");
|
|
David = localTestData.David.ToAbpUserData();
|
|
}
|
|
|
|
public List<IAbpUserData> GetAllUsers()
|
|
{
|
|
return new List<IAbpUserData>
|
|
{
|
|
David,
|
|
Neo
|
|
};
|
|
}
|
|
}
|
|
} |