Browse Source

Renamed to IUserAppService to IIdentityUserAppService

pull/113/head
Halil İbrahim Kalkan 9 years ago
parent
commit
3cad4b613e
  1. 11
      src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/IIdentityUserAppService.cs
  2. 11
      src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/IUserAppService.cs
  3. 4
      src/Volo.Abp.Identity.Application/Volo/Abp/Identity/IdentityUserAppService.cs
  4. 4
      src/Volo.Abp.Identity.Web/Areas/Identity/Controllers/UsersController.cs

11
src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/IIdentityUserAppService.cs

@ -0,0 +1,11 @@
using System;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
namespace Volo.Abp.Identity
{
public interface IIdentityUserAppService : IAsyncCrudAppService<IdentityUserDto, Guid, PagedAndSortedResultRequestDto, IdentityUserCreateOrUpdateDto>
{
}
}

11
src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/IUserAppService.cs

@ -1,11 +0,0 @@
using System;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
namespace Volo.Abp.Identity
{
public interface IUserAppService : IAsyncCrudAppService<IdentityUserDto, Guid, PagedAndSortedResultRequestDto, IdentityUserCreateOrUpdateDto>
{
}
}

4
src/Volo.Abp.Identity.Application/Volo/Abp/Identity/UserAppService.cs → src/Volo.Abp.Identity.Application/Volo/Abp/Identity/IdentityUserAppService.cs

@ -8,12 +8,12 @@ namespace Volo.Abp.Identity
{
//TODO: Consider a way of passing cancellation token to all async application service methods!
public class UserAppService : ApplicationService, IUserAppService
public class IdentityUserAppService : ApplicationService, IIdentityUserAppService
{
private readonly IdentityUserManager _userManager;
private readonly IIdentityUserRepository _userRepository;
public UserAppService(IdentityUserManager userManager, IIdentityUserRepository userRepository)
public IdentityUserAppService(IdentityUserManager userManager, IIdentityUserRepository userRepository)
{
_userManager = userManager;
_userRepository = userRepository;

4
src/Volo.Abp.Identity.Web/Areas/Identity/Controllers/UsersController.cs

@ -8,9 +8,9 @@ namespace Volo.Abp.Identity.Web.Areas.Identity.Controllers
[Area("Identity")]
public class UsersController : AbpController
{
private readonly IUserAppService _userAppService;
private readonly IIdentityUserAppService _userAppService;
public UsersController(IUserAppService userAppService)
public UsersController(IIdentityUserAppService userAppService)
{
_userAppService = userAppService;
}

Loading…
Cancel
Save