/// <summary>
 /// Initializes a new instance of the <see cref="StudentsController"/> class.
 /// </summary>
 /// <param name="ctx">
 /// The ctx.
 /// </param>
 public StudentsController(DemoContext ctx)
 {
     this.ctx = ctx;
 }
示例#2
0
 public Seeder(DemoContext ctx, ILogger<Seeder> logger)
 {
     this.ctx = ctx;
     this.logger = logger;
 }