示例#1
0
 public RecommendationController(IMapper mapper, IUnitOfWork unitOfWork,
                                 IRecommendationRepository recommendationRepository, IBoardEnrollmentRepository boardEnrollmentRepository)
 {
     this.mapper     = mapper;
     this.unitOfWork = unitOfWork;
     this.recommendationRepository  = recommendationRepository;
     this.boardEnrollmentRepository = boardEnrollmentRepository;
 }
 public BoardEnrollmentController(IMapper mapper, IUnitOfWork unitOfWork,
                                  IBoardEnrollmentRepository boardEnrollmentRepository,
                                  ILecturerRepository lecturerRepository, IBoardRepository boardRepository)
 {
     this.mapper     = mapper;
     this.unitOfWork = unitOfWork;
     this.boardEnrollmentRepository = boardEnrollmentRepository;
     this.lecturerRepository        = lecturerRepository;
     this.boardRepository           = boardRepository;
 }
示例#3
0
 public BoardController(IMapper mapper, IUnitOfWork unitOfWork,
                        IBoardRepository boardRepository, IGroupRepository groupRepository,
                        IBoardEnrollmentRepository boardEnrollmentRepository, IHostingEnvironment host,
                        IExcelRepository excelRepository, IConfiguration config)
 {
     this.mapper                    = mapper;
     this.unitOfWork                = unitOfWork;
     this.boardRepository           = boardRepository;
     this.groupRepository           = groupRepository;
     this.boardEnrollmentRepository = boardEnrollmentRepository;
     this.host            = host;
     this.excelRepository = excelRepository;
     this.config          = config;
 }