Renamed to IUserAppService to IIdentityUserAppService

pull/112/head
Halil İbrahim Kalkan 8 years ago
parent c590b7b2d4
commit 3cad4b613e

@ -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>
{
}
}

@ -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>
{
}
}

@ -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;

@ -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