diff --git a/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/IIdentityUserAppService.cs b/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/IIdentityUserAppService.cs new file mode 100644 index 0000000000..cc751e1bb0 --- /dev/null +++ b/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 + { + + } +} diff --git a/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/IUserAppService.cs b/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/IUserAppService.cs deleted file mode 100644 index 72458e5f2d..0000000000 --- a/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/IUserAppService.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; -using Volo.Abp.Application.Dtos; -using Volo.Abp.Application.Services; - -namespace Volo.Abp.Identity -{ - public interface IUserAppService : IAsyncCrudAppService - { - - } -} diff --git a/src/Volo.Abp.Identity.Application/Volo/Abp/Identity/UserAppService.cs b/src/Volo.Abp.Identity.Application/Volo/Abp/Identity/IdentityUserAppService.cs similarity index 93% rename from src/Volo.Abp.Identity.Application/Volo/Abp/Identity/UserAppService.cs rename to src/Volo.Abp.Identity.Application/Volo/Abp/Identity/IdentityUserAppService.cs index 4d5e448787..3cf16c8678 100644 --- a/src/Volo.Abp.Identity.Application/Volo/Abp/Identity/UserAppService.cs +++ b/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; diff --git a/src/Volo.Abp.Identity.Web/Areas/Identity/Controllers/UsersController.cs b/src/Volo.Abp.Identity.Web/Areas/Identity/Controllers/UsersController.cs index eac9a29cb1..9450115d66 100644 --- a/src/Volo.Abp.Identity.Web/Areas/Identity/Controllers/UsersController.cs +++ b/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; }