Exemplo n.º 1
0
 public RegisterService(UserManager <UserRegister> userManager,
                        IMessageSenderFactory messageSenderFactory,
                        ICustomAuthorizeService customAuthorizeService)
 {
     this.userManager            = userManager;
     this.messageSenderFactory   = messageSenderFactory;
     this.customAuthorizeService = customAuthorizeService;
 }
 public UserApiController(IUserRegisterService userRegisterService,
                          IUserRoleService userRoleService,
                          IUserService userService,
                          IRequestResponseFactory requestResponseFactory,
                          ICustomAuthorizeService customAuthorizeService,
                          ICompanyRegisterService companyRegisterService,
                          IRegisterService registerService)
 {
     this.requestResponseFactory = requestResponseFactory;
     this.userRegisterService    = userRegisterService;
     this.userRoleService        = userRoleService;
     this.customAuthorizeService = customAuthorizeService;
     this.userService            = userService;
     this.companyRegisterService = companyRegisterService;
     this.registerService        = registerService;
 }