using HttpClientStudy.Model;
namespace HttpClientStudy.Service
{
///
/// 账号 服务类
///
public class AccountService
{
public List GetAllAccounts()
{
List accounts = new List()
{
new Account() { Id=1, Name="管理员01", Password="123456", Role="Admin"},
new Account() { Id=2, Name="管理员02", Password="123456", Role="Admin"},
new Account() { Id=3, Name="管理员03", Password="123456", Role="Admin"},
new Account() { Id=4, Name="管理员04", Password="123456", Role="Admin"},
new Account() { Id=5, Name="管理员05", Password="123456", Role="Admin"},
new Account() { Id=6, Name="管理员06", Password="123456", Role="Admin"},
new Account() { Id=7, Name="管理员07", Password="123456", Role="Admin"},
new Account() { Id=8, Name="管理员08", Password="123456", Role="Admin"},
new Account() { Id=9, Name="管理员09", Password="123456", Role="Admin"},
new Account() { Id=10, Name="管理员10", Password="123456", Role="Admin"},
new Account() { Id=11, Name="开发01", Password="123456", Role="Dev"},
new Account() { Id=12, Name="开发01", Password="123456", Role="Dev"},
new Account() { Id=13, Name="开发03", Password="123456", Role="Dev"},
new Account() { Id=14, Name="开发04", Password="123456", Role="Dev"},
new Account() { Id=15, Name="开发05", Password="123456", Role="Dev"},
new Account() { Id=16, Name="开发06", Password="123456", Role="Dev"},
new Account() { Id=17, Name="开发07", Password="123456", Role="Dev"},
new Account() { Id=18, Name="开发08", Password="123456", Role="Dev"},
new Account() { Id=19, Name="开发09", Password="123456", Role="Dev"},
new Account() { Id=20, Name="开发10", Password="123456", Role="Dev"},
};
return accounts;
}
}
}