public IdentityService(UserManager <ApplicationUser> userManager, IdentityDataContext context, RoleManager <ApplicationRole> roleManager, ISortingPropertyMappingService sortingPropertyMappingService) { _userManager = userManager; _context = context; _roleManager = roleManager; _sortingPropertyMappingService = sortingPropertyMappingService; }
public UsersController(IIdentityService identityService, IMapper mapper, ISortingPropertyMappingService mappingService) { _identityService = identityService; _mapper = mapper; _mappingService = mappingService; }