public UpdateTeacherCommandHandler( [NotNull] UniDbContext dbContext, [NotNull] IBlobStorageUploader blobStorageUploader ) { _dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext)); _blobStorageUploader = blobStorageUploader ?? throw new ArgumentNullException(nameof(blobStorageUploader)); }
public UpdateStudentCommandHandler([NotNull] UniDbContext dbContext, IBlobStorageUploader blobStorageUploader) { _dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext)); _blobStorageUploader = blobStorageUploader; }