コード例 #1
0
ファイル: SessionsController.cs プロジェクト: a2937/wvup-tcs
 public SessionsController(ISessionRepo sessionRepo, ISemesterRepo semesterRepo, IPersonRepo personRepo,
  ISessionReasonRepo sessionReasonRepo, ISessionClassRepo sessionClassRepo, IMapper mapper)
 {
     _mapper = mapper;
     _sessionRepo = sessionRepo;
     _semesterRepo = semesterRepo;
     _personRepo = personRepo;
     _sessionReasonRepo = sessionReasonRepo;
     _sessionClassRepo = sessionClassRepo;
 }
コード例 #2
0
 /// <summary>Sessions Controller Constructor</summary>
 public SessionsController(ISessionRepo sessionRepo, ISemesterRepo semesterRepo, IPersonRepo personRepo,
                           ISessionReasonRepo sessionReasonRepo, ISessionClassRepo sessionClassRepo, IMapper mapper, ICSVParser <CSVSessionUpload> csvParser, IUnitOfWorkSession unitSession)
 {
     _mapper            = mapper;
     _csvParser         = csvParser;
     _unitSession       = unitSession;
     _sessionRepo       = sessionRepo;
     _semesterRepo      = semesterRepo;
     _personRepo        = personRepo;
     _sessionReasonRepo = sessionReasonRepo;
     _sessionClassRepo  = sessionClassRepo;
 }