//private readonly InMemoryStudentData studentData = new InMemoryStudentData();

        public StudentlistModel(JsonFileStudentService studentService)
        {
            StudentService = studentService;
        }
 public UpdatedModel(JsonFileStudentService studentService)
 {
     StudentService = studentService;
 }
Beispiel #3
0
 public StudentsController(JsonFileStudentService studentService)
 {
     this.StudentService = studentService;
 }
 public IndexModel(ILogger <IndexModel> logger, JsonFileStudentService studentService)
 {
     _logger        = logger;
     StudentService = studentService;
 }