public AccountController(IAuthenticationManager authenticationManager, IKernel kernel) { accountService = new AccountService(kernel); userManagerService = new UserManagerService(kernel); userProfileService = new UserProfileService(kernel); this.authenticationManager = authenticationManager; this.mapper = kernel.Get <IWebMapper>().Mapper; }
public UserProfileAPIController(IKernel kernel) { userProfileService = new UserProfileService(kernel); }