Exemple #1
0
 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;
 }
Exemple #2
0
 public UserProfileAPIController(IKernel kernel)
 {
     userProfileService = new UserProfileService(kernel);
 }