public UserService( IUserRepository repository, IUserFactory factory, IAppUserManager userManager, IWebsiteInfo websiteInfo) { repository.CheckArgumentIsNull(nameof(repository)); _repository = repository; factory.CheckArgumentIsNull(nameof(factory)); _factory = factory; userManager.CheckArgumentIsNull(nameof(userManager)); _userManager = userManager; websiteInfo.CheckArgumentIsNull(nameof(websiteInfo)); _websiteInfo = websiteInfo; }