예제 #1
0
 public UsersController(IUserReadService userReadService, IUserCommandService userCommandService, IVacancyCommandService vacancyCommandService, IVacancyReadService vacancyReadService, ITokenHelper tokenHelper, IOptionReadService optionReadService)
 {
     this.userReadService       = userReadService;
     this.userCommandService    = userCommandService;
     this.vacancyReadService    = vacancyReadService;
     this.vacancyCommandService = vacancyCommandService;
     this.tokenHelper           = tokenHelper;
     this.optionReadService     = optionReadService;
 }
예제 #2
0
 public UserCommandService(IUserRepository userRepository, IMapper mapper,
                           IMapAPIReadService mapAPIReadService, IUserReadService userReadService,
                           IMailClient mailClient, IOptionReadService optionReadService, IConfiguration config)
 {
     this.userRepository    = userRepository;
     this.mapper            = mapper;
     this.mapAPIReadService = mapAPIReadService;
     this.queryBuilder      = new QueryBuilder();
     this.userReadService   = userReadService;
     this.mailClient        = mailClient;
     this.optionReadService = optionReadService;
     this.config            = config;
 }
        public UserController(
            SMLConfiguration settings,
            IUserReadService userReadService,
            IUserWriteService userWriteService,
            IChainReadService chainReadService,
            IChainWriteService chainWriteService,
            IRoleReadService roleReadService,
            ICompetitionReadService competitionReadService)
        {
            this.settings = settings;

            this.userReadService  = userReadService;
            this.userWriteService = userWriteService;

            this.chainReadService  = chainReadService;
            this.chainWriteService = chainWriteService;

            this.roleReadService = roleReadService;

            this.competitionReadService = competitionReadService;
        }
예제 #4
0
 public UsersController(UserReadService service)
 {
     //context = _context;
     _service = service;
 }