コード例 #1
0
 public IdentityService(UserManager <ApplicationUser> userManager,
                        IdentityDataContext context, RoleManager <ApplicationRole> roleManager, ISortingPropertyMappingService sortingPropertyMappingService)
 {
     _userManager = userManager;
     _context     = context;
     _roleManager = roleManager;
     _sortingPropertyMappingService = sortingPropertyMappingService;
 }
コード例 #2
0
ファイル: UsersController.cs プロジェクト: jlnovais/Demos
 public UsersController(IIdentityService identityService, IMapper mapper, ISortingPropertyMappingService mappingService)
 {
     _identityService = identityService;
     _mapper          = mapper;
     _mappingService  = mappingService;
 }