From 3cad4b613ea6c4f9190adbe4d75e3d08bb5cf827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Tue, 19 Sep 2017 17:28:20 +0300 Subject: [PATCH] Renamed to IUserAppService to IIdentityUserAppService --- .../Volo/Abp/Identity/IIdentityUserAppService.cs | 11 +++++++++++ .../Volo/Abp/Identity/IUserAppService.cs | 11 ----------- .../{UserAppService.cs => IdentityUserAppService.cs} | 4 ++-- .../Areas/Identity/Controllers/UsersController.cs | 4 ++-- 4 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/IIdentityUserAppService.cs delete mode 100644 src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/IUserAppService.cs rename src/Volo.Abp.Identity.Application/Volo/Abp/Identity/{UserAppService.cs => IdentityUserAppService.cs} (93%) 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; }