コード例 #1
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;
 }
コード例 #2
0
 public WellnessController(IWellnessService services, IMapper mapper, ISystemAuditService systemAuditService, IHttpContextAccessor accessor)
 {
     _services           = services;
     _mapper             = mapper;
     _systemAuditService = systemAuditService;
     _accessor           = accessor;
 }
コード例 #3
0
        public WellnessController()
        {
            var _unitOfWork = new UnitOfWork();

            _wellnessService = new WellnessService();
            _accountService  = new AccountService(_unitOfWork);
        }
コード例 #4
0
        public WellnessController()
        {
            var _unitOfWork = new UnitOfWork();

            _wellnessService     = new WellnessService();
            _profileService      = new ProfileService(_unitOfWork);
            _accountService      = new AccountService(_unitOfWork);
            _roleCheckingService = new RoleCheckingService(_unitOfWork);
        }
コード例 #5
0
 public WellnessController(IWellnessService services, IOops oops, IMapper mapper)
 {
     _services = services;
     _oops     = oops;
     _mapper   = mapper;
 }
コード例 #6
0
 public WellnessController(IWellnessService wellnessService)
 {
     _wellnessService = wellnessService;
 }