Пример #1
0
        public CompetitionController(
            IResultReadService resultReadService,
            IResultWriteService resultWriteService,
            IChainReadService chainReadService,
            IChainWriteService chainWriteService,
            ICompetitionReadService competitionReadService,
            ICompetitionWriteService competitionWriteService)
        {
            this.resultReadService  = resultReadService;
            this.resultWriteService = resultWriteService;

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

            this.competitionReadService  = competitionReadService;
            this.competitionWriteService = competitionWriteService;
        }
        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;
        }