mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-05 17:38:01 +08:00
23 lines
451 B
C#
23 lines
451 B
C#
![]() |
using System.Collections.Generic;
|
|||
|
using OpenAuth.Domain;
|
|||
|
using OpenAuth.Domain.Interface;
|
|||
|
|
|||
|
namespace OpenAuth.App
|
|||
|
{
|
|||
|
public class OrgManagerApp
|
|||
|
{
|
|||
|
private IOrgRepository _repository;
|
|||
|
|
|||
|
public OrgManagerApp(IOrgRepository repository)
|
|||
|
{
|
|||
|
_repository = repository;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
public IEnumerable<Org> GetAll()
|
|||
|
{
|
|||
|
return _repository.LoadOrgs();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|