public OfferService(IOfferRepository offerRepository, IDraftRepository draftRepository, IApartmentRepository apartmentRepository, IDiscountService discountService)
 {
     _offerRepository     = offerRepository;
     _draftRepository     = draftRepository;
     _apartmentRepository = apartmentRepository;
     _discountService     = discountService;
 }
示例#2
0
 public DraftService(
     IDraftRepository draftRepository,
     IContentRepository contentRepository,
     IDraftRelationshipRepository draftRelationshipRepository)
 {
     _draftRepository             = draftRepository;
     _contentRepository           = contentRepository;
     _draftRelationshipRepository = draftRelationshipRepository;
 }
示例#3
0
 public SaveDraftCommandHandler(
     IDraftRepository draftRepository,
     IQuestionsRepository questionsRepository,
     IUnitOfWork unitOfWork)
 {
     _draftRepository     = draftRepository;
     _questionsRepository = questionsRepository;
     _unitOfWork          = unitOfWork;
 }
示例#4
0
 public NewsController(
     IDraftRepository draftRepository,
     IDraftRelationshipRepository draftRelationshipRepository,
     IDraftSuggestionsRepository draftSuggestionsRepository,
     IMapper mapper)
 {
     _draftRepository             = draftRepository;
     _draftRelationshipRepository = draftRelationshipRepository;
     _draftSuggestionsRepository  = draftSuggestionsRepository;
     _mapper = mapper;
 }
 public DraftTeamRostersController(
     IDraftSelectionRepository draftSelectionRepository,
     IDraftTeamRosterRepository draftTeamRosterRepository,
     IDraftRepository draftRepository,
     ILeagueRepository leagueRepository,
     IMlbDraftRepository mlbDraftRepository,
     IMapper mapper,
     ILogger <DraftTeamRostersController> logger)
 {
     _draftSelectionRepository  = draftSelectionRepository;
     _draftTeamRosterRepository = draftTeamRosterRepository;
     _draftRepository           = draftRepository;
     _leagueRepository          = leagueRepository;
     _mlbDraftRepository        = mlbDraftRepository;
     _mapper = mapper;
     _logger = logger;
 }
示例#6
0
        public DraftController(IDraftRepository draftRepository, IItemRepository itemRepository, IMarkdownParser parser)
        {
            if (draftRepository == null)
            {
                throw new ArgumentNullException("draftRepository");
            }
            if (itemRepository == null)
            {
                throw new ArgumentNullException("itemRepository");
            }
            if (parser == null)
            {
                throw new ArgumentNullException("parser");
            }

            _draftRepository = draftRepository;
            _itemRepository  = itemRepository;
            _parser          = parser;
        }
示例#7
0
 public DraftsController(MLBDraftContext context,
                         IDraftRepository draftRepository,
                         IDraftSelectionRepository draftSelectionRepository,
                         IDraftTeamRosterRepository draftTeamRosterRepository,
                         ILeagueRepository leagueRepository,
                         IPlayerRepository playerRepository,
                         IMlbDraftRepository mlbDraftRepository,
                         IMapper mapper,
                         ILogger <LeaguesController> logger)
 {
     _context                   = context;
     _draftRepository           = draftRepository;
     _draftSelectionRepository  = draftSelectionRepository;
     _draftTeamRosterRepository = draftTeamRosterRepository;
     _leagueRepository          = leagueRepository;
     _playerRepository          = playerRepository;
     _mlbDraftRepository        = mlbDraftRepository;
     _mapper = mapper;
     _logger = logger;
 }
示例#8
0
 public DraftController(IDraftRepository repo)
 {
     _repo = repo;
 }
 public Handler(IDraftRepository repository, IUserIdentityService userIdentityService)
 {
     this._repository          = repository;
     this._userIdentityService = userIdentityService;
 }
示例#10
0
 public SearchController(IDraftRepository draftRepository, IMapper mapper)
 {
     _draftRepository = draftRepository;
     _mapper          = mapper;
 }
示例#11
0
 public TagsController(IDraftRepository draftRepository)
 {
     _draftRepository = draftRepository;
 }
示例#12
0
 public CommentService(IDraftRepository draftRepository, ICommentRepository commentRepository)
 {
     _draftRepository   = draftRepository;
     _commentRepository = commentRepository;
 }
示例#13
0
 public DraftService(IAgreementRepository agreementRepository, IDraftRepository draftRepository)
 {
     _agreementRepository = agreementRepository;
     _draftRepository     = draftRepository;
 }
示例#14
0
 public DraftController(IDraftRepository draftRepo)
 {
     this.draftRepo = draftRepo;
 }
示例#15
0
 public TeamService(AppDbContext appDbContext, ITeamRepository teamRepository, IDraftRepository draftRepository) : base(appDbContext)
 {
     _teamRepository  = teamRepository;
     _draftRepository = draftRepository;
 }