public CustomMembershipProvider()
 {
     userService = (UserService)new NinjectDependencyResolver().GetService(typeof(UserService));
        roleService = (RoleService)new NinjectDependencyResolver().GetService(typeof(RoleService));
 }
Пример #2
0
 public AccountController(UserService service)
 {
     this.service = service;
 }
Пример #3
0
 public AdminController(UserService userService)
 {
     this.userService = userService;
 }
Пример #4
0
 public FileController(FileService fileService, UserService userService)
 {
     this.fileService = fileService;
     this.userService = userService;
 }