コード例 #1
0
 public StudentService(UniversitySystemDbContext dbContext, IPageSort pageSort)
 {
     this.dbContext = dbContext;
     this.pageSort  = pageSort;
 }
コード例 #2
0
 public MovieService(MovieSystemDbContext dbContext, IPageSort pageSort)
 {
     this.dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext));
     this.pageSort  = pageSort;
 }