public StudentsCount(IStudentStorage studentStorage) { CountFormat = "Время:" + DateTime.Now + "\tколичество студентов:" + studentStorage.GetAllStudents().Count; }
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; }
public StudentLogic(IStudentStorage studentStorage) { _studentStorage = studentStorage; }
public IActionResult Get([FromServices] IStudentStorage storage, int id) { var student = storage.GetStudentById(id); return(View(student)); }
public StudentsController(StudentStorage studentStorage) { _studentStorage = studentStorage; }
public StudentController(IStudentStorage storage) { this.storage = storage; }
public StudentController() { storage = new StudentStorage(); }