public StudentServices(
     IDataManager <StudentProfile> manager,
     IDataManager <StudentAddress> addressManager,
     IDataManager <SchoolTeacher> teacherManager,
     SchoolYearServices sy,
     RecordsServices records,
     SchoolContext context,
     UserManager <SchoolUser> userManager,
     IOptions <GeneralSettings> settings)
 {
     _manager        = manager;
     _context        = context;
     _userManager    = userManager;
     _settings       = settings.Value;
     _addressManager = addressManager;
     _teacherManager = teacherManager;
     _sy             = sy;
     _records        = records;
 }
Пример #2
0
 public SchoolYearController(SchoolYearServices sy, UserManager <SchoolUser> userManager) : base(userManager)
 {
     _sy = sy;
 }
 public LevelController(LevelServices lvl, SchoolYearServices sy, UserManager <SchoolUser> userManager) : base(userManager)
 {
     _lvl = lvl;
     _sy  = sy;
 }
 public SidebarViewComponent(StudentServices student, SchoolYearServices sy, UserManager <SchoolUser> userManager)
 {
     _sy          = sy;
     _student     = student;
     _userManager = userManager;
 }