Exemple #1
0
 public StudentsCount(IStudentStorage studentStorage)
 {
     CountFormat = "Время:" + DateTime.Now + "\tколичество студентов:" + studentStorage.GetAllStudents().Count;
 }
Exemple #2
0
 public ReportLogic(IStudentStorage studentStorage, IStudyingStatusStorage studyingStatusStorage, IThreadStorage threadStorage)
 {
     this.studentStorage        = studentStorage;
     this.studyingStatusStorage = studyingStatusStorage;
     this.threadStorage         = threadStorage;
 }
        public StudentBusiness(IStudentStorage _studentStorage)
        {

            studentStorage = _studentStorage;

        }
 public GradeManager(ILogger <GradeManager> logger, IGradeStorage gradeStorage, IStudentStorage studentStorage)
 {
     Logger         = logger;
     GradeStorage   = gradeStorage;
     StudentStorage = studentStorage;
 }
Exemple #5
0
 public StudentLogic(IStudentStorage studentStorage)
 {
     _studentStorage = studentStorage;
 }
Exemple #6
0
        public IActionResult Get([FromServices] IStudentStorage storage, int id)
        {
            var student = storage.GetStudentById(id);

            return(View(student));
        }
Exemple #7
0
 public StudentsController(StudentStorage studentStorage)
 {
     _studentStorage = studentStorage;
 }
Exemple #8
0
 public StudentController(IStudentStorage storage)
 {
     this.storage = storage;
 }
Exemple #9
0
 public StudentController()
 {
     storage = new StudentStorage();
 }