public ReportsController(ClassDataAccess classDataAccess, StudentsDataAccess studentDataAccess, AttendanceDataAccess attendanceDataAccess,
                          InstructorDataAccess instructorDataAccess, UserDataAccess userDataAccess, StudioDataAccess studioDataAccess)
 {
     _classDataAccess      = classDataAccess;
     _studentDataAccess    = studentDataAccess;
     _attendanceDataAccess = attendanceDataAccess;
     _instructorDataAccess = instructorDataAccess;
     _userDataAccess       = userDataAccess;
     _studioDataAccess     = studioDataAccess;
 }
コード例 #2
0
 public UserController(UserDataAccess userDataAccess, StudioDataAccess studioDataAccess, StudentsDataAccess studentDataAccess, ClassDataAccess classDataAccess,
                       InstructorDataAccess instructorDataAccess, IHostingEnvironment appEnvironment)
 {
     _userDataAccess       = userDataAccess;
     _studioDataAccess     = studioDataAccess;
     _studentDataAccess    = studentDataAccess;
     _classDataAccess      = classDataAccess;
     _instructorDataAccess = instructorDataAccess;
     _appEnvironment       = appEnvironment;
 }
コード例 #3
0
 public StudioController(StudentsDataAccess studentDataAccess, StudioDataAccess studioDataAccess, InstructorDataAccess instructorDataAccess,
                         ClassDataAccess classDataAccess, IHttpContextAccessor httpContextAccessor, UserDataAccess userDataAccess, AttendanceDataAccess attendanceDataAccess,
                         CalendarHelp calendarHelp)
 {
     _studentDataAccess    = studentDataAccess;
     _studioDataAccess     = studioDataAccess;
     _instructorDataAccess = instructorDataAccess;
     _classDataAccess      = classDataAccess;
     _httpContextAccessor  = httpContextAccessor;
     _userDataAccess       = userDataAccess;
     _attendanceDataAccess = attendanceDataAccess;
     _calendarHelp         = calendarHelp;
 }
 public CalendarDataAccess(ApplicationContext _applicationContext, ClassDataAccess _classDataAccess, InstructorDataAccess _instructorDataAccess)
 {
     applicationContext   = _applicationContext;
     classDataAccess      = _classDataAccess;
     instructorDataAccess = _instructorDataAccess;
 }