public ProfileController( IApplicationLocale applicationLocale, IDomainMicroService domainMicroService, IUserMicroService userMicroService, IUserManagementMicroService userManagementMicroService) : base( applicationLocale, domainMicroService) { UserMicroService = userMicroService ?? throw new ArgumentNullException(nameof(userMicroService)); UserManagementMicroService = userManagementMicroService ?? throw new ArgumentNullException(nameof(userManagementMicroService)); }
public LoginController( SignInManager <IdentityUser> signInManager, IApplicationLocale applicationLocale, IDomainMicroService domainMicroService, IUserMicroService userMicroService, IUserManagementMicroService userManagementMicroService) : base( applicationLocale, domainMicroService) { SignInManager = signInManager ?? throw new ArgumentNullException(nameof(signInManager)); UserMicroService = userMicroService ?? throw new ArgumentNullException(nameof(userMicroService)); UserManagementMicroService = userManagementMicroService ?? throw new ArgumentNullException(nameof(userManagementMicroService)); }
public UserAdminService( IApplicationRequestServices requestServices, ILogger <UserAdminService> logger, IQuiltContextFactory quiltContextFactory, //UserManager<IdentityUser> userManager, IOrderMicroService orderMicroService, ISquareMicroService squareMicroService, IUserMicroService userMicroService, IUserManagementMicroService userManagementMicroService) : base(requestServices, logger) { QuiltContextFactory = quiltContextFactory ?? throw new ArgumentNullException(nameof(quiltContextFactory)); OrderMicroService = orderMicroService ?? throw new ArgumentNullException(nameof(orderMicroService)); SquareMicroService = squareMicroService ?? throw new ArgumentNullException(nameof(squareMicroService)); UserMicroService = userMicroService ?? throw new ArgumentNullException(nameof(userMicroService)); UserManagementMicroService = userManagementMicroService ?? throw new ArgumentNullException(nameof(userManagementMicroService)); }