コード例 #1
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;
 }
 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;
 }
コード例 #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;
 }