public string GetStudentProgress(int studentId, IStudentContext context)
 {
     return _rep.GetStudentProgress(studentId);
 }
コード例 #2
0
 public StudentService(IStudentContext dbContext)
 {
     _dbContext = dbContext;
 }
コード例 #3
0
 public EditModel(IStudentContext context) {
     _context = context;
 }
コード例 #4
0
 public StudentService(IStudentContext context)
 {
     _studentContext = context;
 }
コード例 #5
0
 public string GetStudentProgress(int studentId, IStudentContext context)
 {
     return String.Format("Student: {0} - Good in {1}", new CultureInfo(context.Language), context.Language);
 }
コード例 #6
0
 public IndexModel(IStudentContext context)
 {
     _context = context;
 }
コード例 #7
0
 public StudentRepository(IStudentContext context)
 {
     _context = context;
 }
コード例 #8
0
 public StudentRepository(IStudentContext studentContext)
 {
     _studentContext = studentContext;
 }
コード例 #9
0
 public DetailsModel(IStudentContext context)
 {
     _context = context;
 }
コード例 #10
0
ファイル: IUnitOfWork.cs プロジェクト: Egor-record/Students
 public UnitOfWork(IStudentContext context)
 {
     this._context = context;
 }
コード例 #11
0
 public CreateModel(IStudentContext context)
 {
     _context = context;
 }