예제 #1
0
 public HobbyController(IHobbyService 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 HobbyController(IHobbyService hobbyService, IHubContext <BroadcastHub> hub, TimerManager timer)
 {
     _hobbyService = hobbyService;
     _hub          = hub;
     _timer        = timer;
 }
예제 #4
0
 /// <summary>
 ///     Initialize controller with injectors.
 /// </summary>
 /// <param name="hobbyService"></param>
 public ApiHobbyController(IHobbyService hobbyService)
 {
     _hobbyService = hobbyService;
 }
 public HobbiesController(IHobbyService service)
 {
     _service = service;
 }
예제 #6
0
 //CONSTRUCTOR
 public HobbyController(IMapper mapper, IHobbyService hobbyService)
 {
     _mapper       = mapper;
     _hobbyService = hobbyService;
 }
예제 #7
0
 public HobbyController(IHobbyService services, IOops oops, IMapper mapper)
 {
     _services = services;
     _mapper   = mapper;
     _oops     = oops;
 }