Пример #1
0
 public ManageController(
     SiteContext currentSite,
     SiteUserManager <SiteUser> userManager,
     SignInManager <SiteUser> signInManager,
     IAccountService accountService,
     //ISmsSender smsSender,
     IStringLocalizer <CloudscribeCore> localizer,
     cloudscribe.DateTimeUtils.ITimeZoneIdResolver timeZoneIdResolver,
     cloudscribe.DateTimeUtils.ITimeZoneHelper timeZoneHelper,
     IHandleCustomUserInfo customUserInfo,
     ILogger <ManageController> logger,
     UrlEncoder urlEncoder
     )
 {
     CurrentSite        = currentSite;
     UserManager        = userManager;
     SignInManager      = signInManager;
     AccountService     = accountService;
     StringLocalizer    = localizer;
     TimeZoneIdResolver = timeZoneIdResolver;
     TimeZoneHelper     = timeZoneHelper;
     CustomUserInfo     = customUserInfo;
     Log        = logger;
     UrlEncoder = urlEncoder;
 }
 public UserAdminController(
     SiteManager siteManager,
     SiteUserManager <SiteUser> userManager,
     ISiteMessageEmailSender emailSender,
     IOptions <UIOptions> uiOptionsAccessor,
     IStringLocalizer <CloudscribeCore> localizer,
     cloudscribe.DateTimeUtils.ITimeZoneIdResolver timeZoneIdResolver,
     cloudscribe.DateTimeUtils.ITimeZoneHelper timeZoneHelper,
     IHandleCustomUserInfoAdmin customUserEdit
     )
 {
     _userManager        = userManager;
     _siteManager        = siteManager;
     _emailSender        = emailSender;
     _uiOptions          = uiOptionsAccessor.Value;
     _sr                 = localizer;
     _timeZoneIdResolver = timeZoneIdResolver;
     _tzHelper           = timeZoneHelper;
     _customUserInfo     = customUserEdit;
 }
Пример #3
0
 public UserAdminController(
     SiteManager siteManager,
     SiteUserManager <SiteUser> userManager,
     ISiteMessageEmailSender emailSender,
     IAuthorizationService authorizationService,
     IOptions <UIOptions> uiOptionsAccessor,
     IStringLocalizer <CloudscribeCore> localizer,
     cloudscribe.DateTimeUtils.ITimeZoneIdResolver timeZoneIdResolver,
     cloudscribe.DateTimeUtils.ITimeZoneHelper timeZoneHelper,
     IHandleCustomUserInfoAdmin customUserEdit
     )
 {
     UserManager          = userManager;
     SiteManager          = siteManager;
     EmailSender          = emailSender;
     UIOptions            = uiOptionsAccessor.Value;
     StringLocalizer      = localizer;
     AuthorizationService = authorizationService;
     TimeZoneIdResolver   = timeZoneIdResolver;
     TimeZoneHelper       = timeZoneHelper;
     CustomUserInfo       = customUserEdit;
 }