Ejemplo n.º 1
0
 public UpdateTeacherCommandHandler(
     [NotNull] UniDbContext dbContext,
     [NotNull] IBlobStorageUploader blobStorageUploader
     )
 {
     _dbContext           = dbContext ?? throw new ArgumentNullException(nameof(dbContext));
     _blobStorageUploader = blobStorageUploader ?? throw new ArgumentNullException(nameof(blobStorageUploader));
 }
Ejemplo n.º 2
0
 public UpdateStudentCommandHandler([NotNull] UniDbContext dbContext, IBlobStorageUploader blobStorageUploader)
 {
     _dbContext           = dbContext ?? throw new ArgumentNullException(nameof(dbContext));
     _blobStorageUploader = blobStorageUploader;
 }