public InterestController(IInterestsContext context,
            IInterestsRepository<Interest> interestRepository)
        {
            _context = context;
            _interestsRepository = interestRepository;

            Mapper.AddProfile<InterestsMappingProfile>();
        }
 public PeopleRepository(
     IInterestsRepository interestsRepository,
     IPersonInterestsRepository personInterestsRepository,
     IOccupationsRepository occupationsRepository,
     IAddressRepository addressRepository
     )
 {
     _interestsRepository       = interestsRepository;
     _personInterestsRepository = personInterestsRepository;
     _occupationsRepository     = occupationsRepository;
     _addressRepository         = addressRepository;
 }
        public DiscussionController(IDiscussionsContext context,
            IDiscussionRepository<Discussion> discussionRepository, IUsersRepository<User> userRepository,
            IAreasRepository<Area> areasRepository, IInterestsRepository<Gada.Interests.Entities.Interest> interestsRepository)
        {
            _context = context;
            _discussionRepository = discussionRepository;
            _userRepository = userRepository;
            _areasRepository = areasRepository;
            _interestsRepository = interestsRepository;

            Mapper.AddProfile<DiscussionsMappingProfile>();
            Mapper.AddProfile<PostsMappingProfile>();
        }
 public InterestsService(IInterestsRepository interestsRepository)
 {
     _interestsRepository = interestsRepository;
 }
Exemplo n.º 5
0
 public TransactionController(IInterestsRepository repository)
 {
     _repository = repository;
 }
Exemplo n.º 6
0
 public AccountController(IInterestsRepository repository)
 {
     _repository = repository;
 }
Exemplo n.º 7
0
 public OutingManager(IMapper mapper, IOutingRepository outingRepository, IInterestsRepository interestsRepository)
 {
     _mapper              = mapper;
     _outingRepository    = outingRepository;
     _interestsRepository = interestsRepository;
 }
 public InterestsManager(IMapper mapper, IInterestsRepository repository)
 {
     _mapper     = mapper;
     _repository = repository;
 }
Exemplo n.º 9
0
 public InterestsController(ILogger <InterestsController> logger, IInterestsRepository interestsRepository)
 {
     _logger = logger;
     _interestsRepository = interestsRepository;
 }
 public InterestsService(IInterestsRepository occupationsRepository, IPaginationService paginationService)
 {
     _interestsRepository = occupationsRepository;
     _paginationService   = paginationService;
 }