Fixed AbpIdentityHttpApiModule.

pull/96/head
Halil İbrahim Kalkan 8 years ago
parent 9a7507ce31
commit 9256bff867

@ -7,7 +7,7 @@ namespace Volo.Abp.Identity
{
public interface IUserAppService : IApplicationService
{
Task<ListResultDto<IdentityUserDto>> GetAll();
Task<ListResultDto<IdentityUserDto>> Get();
Task<IdentityUserDto> Get(Guid id);
}

@ -17,7 +17,7 @@ namespace Volo.Abp.Identity
_userRepository = userRepository;
}
public async Task<ListResultDto<IdentityUserDto>> GetAll()
public async Task<ListResultDto<IdentityUserDto>> Get()
{
var users = await _userRepository.GetListAsync();

@ -17,7 +17,7 @@ namespace Volo.Abp.Identity
_options = options.Value;
}
public async Task<ListResultDto<IdentityUserDto>> GetAll()
public async Task<ListResultDto<IdentityUserDto>> Get()
{
using (var client = new HttpClient())
{

@ -9,7 +9,7 @@ namespace Volo.Abp.Identity
{
public override void ConfigureServices(IServiceCollection services)
{
services.AddAssemblyOf<AbpIdentityApplicationModule>();
services.AddAssemblyOf<AbpIdentityHttpApiModule>();
}
}
}

@ -18,9 +18,9 @@ namespace Volo.Abp.Identity
[HttpGet]
[Route("")]
public Task<ListResultDto<IdentityUserDto>> GetAll()
public Task<ListResultDto<IdentityUserDto>> Get()
{
return _userAppService.GetAll();
return _userAppService.Get();
}
[HttpGet]

@ -16,7 +16,7 @@ namespace Volo.Abp.Identity.Web.Areas.Identity.Controllers
public async Task<ActionResult> Index()
{
var result = await _userAppService.GetAll();
var result = await _userAppService.Get();
return View(result.Items);
}
}

Loading…
Cancel
Save