コード例 #1
0
 public DormitoryController(IDormitoryService services, IMapper mapper, ISystemAuditService systemAuditService, IHttpContextAccessor accessor)
 {
     _services           = services;
     _mapper             = mapper;
     _systemAuditService = systemAuditService;
     _accessor           = accessor;
 }
コード例 #2
0
 public Directories(IAccountService accountService,
                    ISubdivisionsService subdivisionsService,
                    IPositionService positionService,
                    IDormitoryService dormitoryService,
                    IDepartmentalService departmentalService,
                    IQualificationService scientificService,
                    ISocialActivityService socialActivity,
                    IPrivilegesService privilegesService,
                    IHobbyService hobbyService,
                    ITravelService travelService,
                    IWellnessService wellnessService,
                    ITourService tourService,
                    ICulturalService culturalService,
                    IActivitiesService activitiesService,
                    IAwardService awardService,
                    IMaterialAidService materialAidService)
 {
     _accountService      = accountService;
     _subdivisionsService = subdivisionsService;
     _positionService     = positionService;
     _dormitoryService    = dormitoryService;
     _departmentalService = departmentalService;
     _scientificService   = scientificService;
     _socialActivity      = socialActivity;
     _privilegesService   = privilegesService;
     _hobbyService        = hobbyService;
     _travelService       = travelService;
     _wellnessService     = wellnessService;
     _tourService         = tourService;
     _culturalService     = culturalService;
     _activitiesService   = activitiesService;
     _awardService        = awardService;
     _materialAidService  = materialAidService;
 }
コード例 #3
0
 public DormitoryController(IDormitoryService service, ILogger <DormitoryController> logger, IHttpContextAccessor httpContextAccessor, ApplicationDbContext context)
 {
     _service             = service;
     _logger              = logger;
     _httpContextAccessor = httpContextAccessor;
     _context             = context;
     CurrentUser.Configure(_httpContextAccessor);
 }
コード例 #4
0
 public apiDSRServiceController(IDormOptiontypeService DOService, IDormSettingService DSService,
                                IDormSetRelationService DSRService, IDormitoryService DormService)
 {
     _DOService   = DOService;
     _DSService   = DSService;
     _DSRService  = DSRService;
     _DormService = DormService;
 }
コード例 #5
0
 public DormitoryRoomController(
     IMapper <DormitoryRoom, DormitoryRoomGetModel> dormitoryRoomGetModelMapper,
     IMapper <DormitoryRoomPostModel, DormitoryRoom> dormitoryRoomMapper,
     IMapper <DormitoryRoom, DormitoryRoomPostModel> dormitoryRoomPostModelMapper,
     IMapper <Dormitory, SelectListItem> dormitoryRoomModelMapper,
     IMapper <Student, StudentSelectModel> studentSelectModelMapper,
     IMapper <Student, StudentGetModel> studentGetModelMapper,
     IDormitoryRoomService dormitoryRoomService,
     IDormitoryService dormitoryService,
     IStudentService studentService)
 {
     _dormitoryRoomGetModelMapper  = dormitoryRoomGetModelMapper;
     _dormitoryRoomMapper          = dormitoryRoomMapper;
     _dormitoryRoomPostModelMapper = dormitoryRoomPostModelMapper;
     _dormitorySelectModelMapper   = dormitoryRoomModelMapper;
     _studentSelectModelMapper     = studentSelectModelMapper;
     _studentGetModelMapper        = studentGetModelMapper;
     _dormitoryRoomService         = dormitoryRoomService;
     _dormitoryService             = dormitoryService;
     _studentService = studentService;
 }
コード例 #6
0
 public DormitoryController(
     IMapper <Dormitory, DormitoryGetModel> groupGetModelMapper,
     IMapper <DormitoryPostModel, Dormitory> groupMapper,
     IMapper <Dormitory, DormitoryPostModel> groupPostModelMapper,
     IMapper <DormitoryRoom, DormitoryRoomGetModel> dormitoryRoomGetModelMapper,
     IMapper <DormitoryRoom, DormitoryRoomSelectModel> dormitoryRoomSelectModelMapper,
     IMapper <Faculty, FacultySelectModel> facultySelectModelMapper,
     IMapper <Student, StudentGetModel> studentGetModelMapper,
     IDormitoryService dormitoryService,
     IDormitoryRoomService dormitoryRoomService,
     IFacultyService facultyService)
 {
     _dormitoryGetModelMapper        = groupGetModelMapper;
     _dormitoryMapper                = groupMapper;
     _dormitoryPostModelMapper       = groupPostModelMapper;
     _dormitoryRoomGetModelMapper    = dormitoryRoomGetModelMapper;
     _dormitoryRoomSelectModelMapper = dormitoryRoomSelectModelMapper;
     _facultySelectModelMapper       = facultySelectModelMapper;
     _studentGetModelMapper          = studentGetModelMapper;
     _dormitoryService               = dormitoryService;
     _dormitoryRoomService           = dormitoryRoomService;
     _facultyService = facultyService;
 }
コード例 #7
0
 public apiDormitoryController(IDormitoryService dormService)
 {
     this._dormService = dormService;
 }
コード例 #8
0
 public DormitoryController(IDormitoryService services, IOops oops, IMapper mapper)
 {
     _services = services;
     _oops     = oops;
     _mapper   = mapper;
 }