public PhotoService( ITransferUtility transferUtility, INovelGramPhotoFactory photoFactory, INovelGramUserClient userClient, ILogger <PhotoService> logger) { this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.transferUtility = transferUtility ?? throw new ArgumentNullException(nameof(transferUtility)); this.photoFactory = photoFactory ?? throw new ArgumentNullException(nameof(photoFactory)); this.userClient = userClient ?? throw new ArgumentNullException(nameof(userClient)); }
public AccountController( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, INovelGramUserClient userClient, ILogger <AccountController> logger) { this.userManager = userManager; this.signInManager = signInManager; this.userClient = userClient; this.logger = logger; }
public NovelGramUserService(INovelGramUserClient userClient) { this.userClient = userClient ?? throw new ArgumentNullException(nameof(userClient)); }
public UserController(INovelGramUserClient userClient) { this.userClient = userClient; }