添加DI支持

This commit is contained in:
yubaolee
2015-09-23 00:10:11 +08:00
parent 2a5cdd453f
commit a284f975c3
10 changed files with 383 additions and 363 deletions

View File

@@ -1,4 +1,6 @@
using System;
using System.Collections.Generic;
using OpenAuth.Domain;
using OpenAuth.Domain.Interface;
namespace OpenAuth.App
@@ -24,5 +26,10 @@ namespace OpenAuth.App
}
public IEnumerable<User> LoadUsers()
{
return _repository.LoadUsers();
}
}
}