/// <summary> /// 构造函数 /// </summary> /// <param name="demoStudentAppService"></param> public APIDemoStudentController(IDemoStudentAppService demoStudentAppService) { this._demoStudentAppService = demoStudentAppService; }
public TestController(IDemoStudentAppService demoStudentAppService, MyDbContext db) { this._demoStudentAppService = demoStudentAppService; this._db = db; }