public string GetStudentProgress(int studentId, IStudentContext context)
 {
     return _rep.GetStudentProgress(studentId);
 }
Beispiel #2
0
 public StudentService(IStudentContext dbContext)
 {
     _dbContext = dbContext;
 }
Beispiel #3
0
 public EditModel(IStudentContext context) {
     _context = context;
 }
Beispiel #4
0
 public StudentService(IStudentContext context)
 {
     _studentContext = context;
 }
 public string GetStudentProgress(int studentId, IStudentContext context)
 {
     return String.Format("Student: {0} - Good in {1}", new CultureInfo(context.Language), context.Language);
 }
 public IndexModel(IStudentContext context)
 {
     _context = context;
 }
Beispiel #7
0
 public StudentRepository(IStudentContext context)
 {
     _context = context;
 }
 public StudentRepository(IStudentContext studentContext)
 {
     _studentContext = studentContext;
 }
 public DetailsModel(IStudentContext context)
 {
     _context = context;
 }
Beispiel #10
0
 public UnitOfWork(IStudentContext context)
 {
     this._context = context;
 }
 public CreateModel(IStudentContext context)
 {
     _context = context;
 }