コード例 #1
0
 // GET api/values
 public PostController(
     IAuthenticationService authenticationService,
     ICountryService countryService,
     IBlockService blockService,
     IRepository <User> userRepository,
     IRepository <BlockDetail> blockRepository,
     IRepository <PostImage> postImageRepository,
     IPostService postService,
     ICommentService commentService,
     IHostingEnvironment environment,
     IFileService fileService,
     IUserAppContext userAppContext)
 {
     _authenticationService = authenticationService;
     _countryService        = countryService;
     _blockService          = blockService;
     _userRepository        = userRepository;
     _blockRepository       = blockRepository;
     _postImageRepository   = postImageRepository;
     _postService           = postService;
     _commentService        = commentService;
     _environment           = environment;
     _fileService           = fileService;
     _userAppContext        = userAppContext;
 }
コード例 #2
0
 public MobileController(IBusClient busClient,
                         IFileService documentService,
                         IRepository <User> userRepository,
                         IRepository <UserLanguage> userLanguageRepository,
                         IRepository <UserDescription> personDescriptionRepository,
                         IRepository <UserAvailability> userAvailabilityRepository,
                         IRepository <UserSkill> userSkillRepository,
                         IRepository <UserEducation> userEducationRepository,
                         IRepository <UserCertification> userCertificationRepository,
                         IRepository <UserLocation> userLocationRepository,
                         IRepository <Employer> employerRepository,
                         IRepository <UserDocument> userDocumentRepository,
                         IHostingEnvironment environment,
                         IProfileService profileService,
                         IAwsService awsService,
                         IUserAppContext userAppContext)
 {
     _busClient       = busClient;
     _profileService  = profileService;
     _documentService = documentService;
     _userAppContext  = userAppContext;
     _userRepository  = userRepository;
     _personDescriptionRespository = personDescriptionRepository;
     _userLanguageRepository       = userLanguageRepository;
     _userAvailabilityRepository   = userAvailabilityRepository;
     _userSkillRepository          = userSkillRepository;
     _userEducationRepository      = userEducationRepository;
     _userCertificationRepository  = userCertificationRepository;
     _userLocationRepository       = userLocationRepository;
     _employerRepository           = employerRepository;
     _userDocumentRepository       = userDocumentRepository;
     _environment        = environment;
     _profileImageFolder = "images\\";
     _awsService         = awsService;
 }
コード例 #3
0
 public AuthenticationController(
     IBusClient busClient,
     IAuthenticationService authenticationService,
     IUserAppContext userAppContext)
 {
     _busClient             = busClient;
     _authenticationService = authenticationService;
     _userAppContext        = userAppContext;
 }
コード例 #4
0
 public AuthenticationController(
     IAuthenticationService authenticationService,
     IRepository <User> userRepository,
     IUserAppContext userAppContext)
 {
     _authenticationService = authenticationService;
     _userRepository        = userRepository;
     _userAppContext        = userAppContext;
 }
コード例 #5
0
 public TalentService(IRepository <Employer> employerRepository,
                      IRepository <User> talentRepository,
                      IRepository <Recruiter> recruiterRepository,
                      IUserAppContext userAppContext)
 {
     _employerRepository  = employerRepository;
     _recruiterRepository = recruiterRepository;
     _userAppContext      = userAppContext;
     _talentRepository    = talentRepository;
 }
コード例 #6
0
 // GET api/values
 public ProfileController(
     IAuthenticationService authenticationService,
     ICountryService countryService,
     IRepository <User> userRepository,
     IProfileService profileService,
     IUserAppContext userAppContext)
 {
     _authenticationService = authenticationService;
     _countryService        = countryService;
     _userRepository        = userRepository;
     _profileService        = profileService;
     _userAppContext        = userAppContext;
 }
コード例 #7
0
 public ProfileService(IUserAppContext userAppContext,
                       IRepository <User> userRepository,
                       IRepository <Employer> employerRepository,
                       IRepository <Job> jobRepository,
                       IRepository <Recruiter> recruiterRepository,
                       IFileService fileService)
 {
     _userAppContext      = userAppContext;
     _userRepository      = userRepository;
     _employerRepository  = employerRepository;
     _jobRepository       = jobRepository;
     _recruiterRepository = recruiterRepository;
     _fileService         = fileService;
 }
コード例 #8
0
 // GET api/values
 public CountryController(
     IAuthenticationService authenticationService,
     ICountryService countryService,
     IBlockService blockService,
     IResidenceService residenceService,
     IRepository <User> userRepository,
     IUserAppContext userAppContext)
 {
     _authenticationService = authenticationService;
     _countryService        = countryService;
     _blockService          = blockService;
     _residenceService      = residenceService;
     _userRepository        = userRepository;
     _userAppContext        = userAppContext;
 }
コード例 #9
0
        IRepository <UserExperience> _userExperienceRepository; //new


        public ProfileService(IUserAppContext userAppContext,
                              IRepository <UserExperience> userExperienceRepository, // new
                              IRepository <UserLanguage> userLanguageRepository,
                              IRepository <User> userRepository,
                              IRepository <Employer> employerRepository,
                              IRepository <Job> jobRepository,
                              IRepository <Recruiter> recruiterRepository,
                              IFileService fileService)
        {
            _userAppContext           = userAppContext;
            _userLanguageRepository   = userLanguageRepository;
            _userRepository           = userRepository;
            _employerRepository       = employerRepository;
            _jobRepository            = jobRepository;
            _recruiterRepository      = recruiterRepository;
            _fileService              = fileService;
            _userExperienceRepository = userExperienceRepository; // new
        }
コード例 #10
0
 public ProfileService(IUserAppContext userAppContext,
                       IRepository <UserLanguage> userLanguageRepository,
                       IRepository <User> userRepository,
                       IRepository <Employer> employerRepository,
                       IRepository <Job> jobRepository,
                       IRepository <Recruiter> recruiterRepository,
                       IFileService fileService,
                       IHostingEnvironment environment)
 {
     _userAppContext         = userAppContext;
     _userLanguageRepository = userLanguageRepository;
     _userRepository         = userRepository;
     _employerRepository     = employerRepository;
     _jobRepository          = jobRepository;
     _recruiterRepository    = recruiterRepository;
     _fileService            = fileService;
     _environment            = environment;
     _profileImageFolder     = "\\images\\";
 }
コード例 #11
0
 public ListingController(
     IBusClient busClient,
     IAuthenticationService authenticationService,
     IFileService documentService,
     IUserAppContext userAppContext,
     IRepository <User> userRepository,
     IJobService jobService,
     IProfileService profileService,
     ITalentService talentService)
 {
     _busClient             = busClient;
     _authenticationService = authenticationService;
     _documentService       = documentService;
     _userAppContext        = userAppContext;
     _userRepository        = userRepository;
     _jobService            = jobService;
     _profileService        = profileService;
     _talentService         = talentService;
 }
コード例 #12
0
 public ProfileService(IUserAppContext userAppContext,
                       IRepository <UserLanguage> userLanguageRepository,
                       IRepository <UserSkill> userSkillRepository,
                       IRepository <UserExperience> userExperienceRepository,
                       IRepository <UserEducation> userEducationRepository,
                       IRepository <UserCertification> userCertificationRepository,
                       IRepository <User> userRepository,
                       IRepository <Employer> employerRepository,
                       IRepository <Job> jobRepository,
                       IRepository <Recruiter> recruiterRepository,
                       IFileService fileService)
 {
     _userAppContext           = userAppContext;
     _userSkillRepository      = userSkillRepository;
     _userLanguageRepository   = userLanguageRepository;
     _userExperienceRepository = userExperienceRepository;
     _userRepository           = userRepository;
     _employerRepository       = employerRepository;
     _jobRepository            = jobRepository;
     _recruiterRepository      = recruiterRepository;
     _fileService = fileService;
 }
コード例 #13
0
 public ProfileService(IUserAppContext userAppContext,
                       IRepository <UserLanguage> userLanguageRepository,
                       IRepository <UserSkill> userSkillRepository,
                       IRepository <UserExperience> userExperienceRepository,
                       IRepository <User> userRepository,
                       IRepository <Employer> employerRepository,
                       IRepository <Job> jobRepository,
                       IRepository <Recruiter> recruiterRepository,
                       IFileService fileService,
                       IMapper mapper)
 {
     _userAppContext           = userAppContext;
     _userLanguageRepository   = userLanguageRepository;
     _userSkillRepository      = userSkillRepository;
     _userExperienceRepository = userExperienceRepository;
     _userRepository           = userRepository;
     _employerRepository       = employerRepository;
     _jobRepository            = jobRepository;
     _recruiterRepository      = recruiterRepository;
     _fileService = fileService;
     _mapper      = mapper;
 }
コード例 #14
0
ファイル: SignalRChatRoom.cs プロジェクト: Pratz1994/SignalRC
 public ChatHub(IRepository<MessageRoom> roomRepository,
                IUserAppContext userAppContext)
 {
     _messageRoomRepository = roomRepository;
     _userAppContext = userAppContext;
 }