public UserEventsService(IEventsRepository eventsRepository, IUserEventsReader eventsReader, IPicturesRepository picturesRepository) { _eventsRepository = eventsRepository; _picturesRepository = picturesRepository; _eventsReader = eventsReader; }
public DataManager(IUsersRepository usersRepository, IFriendsRepository friendsRepository, IFriendRequestsRepository friendRequestsRepository, IMessagesRepository messagesRepository, IPicturesRepository picturesRepository, PrimaryMembershipProvider provider) { this.usersRepository = usersRepository; this.friendsRepository = friendsRepository; this.friendRequestsRepository = friendRequestsRepository; this.messagesRepository = messagesRepository; this.picturesRepository = picturesRepository; this.provider = provider; }
public AdsService(IAdsRepository adsRepository, IPicturesRepository picturesRepository, IRuleCalculator calculator, IConfiguration configurator) { _adsRepository = adsRepository; _picturesRepository = picturesRepository; _calculator = calculator; limitToBeConsideredIrrelevant = configurator.GetValue <int>("LimitToBeConsideredIrrelevant"); }
public ClientEventsService( IEventsRepository eventsRepository, IClientEventsReader eventsReader, IPicturesRepository picturesRepository ) { _eventsRepository = eventsRepository; _eventsReader = eventsReader; _picturesRepository = picturesRepository; }
public RuleCalculator(IPicturesRepository repository) { rules = new List <IRule> { new PicturesRule(repository), new DescriptionRule(), new DescriptionSizeRule(), new WordAppearanceRule(), new AdCompleteRule() }; }
public AdminController() { var newContext = new StorageContext(); _kittensRepository = new DBKittensRepository(newContext); _picturesRepository = new DbPicturesRepository(newContext); _breedsRepository = new DbBreedsRepository(newContext); _ownersRepository = new DbOwnersRepository(newContext); _displayPlacesRepository = new DbDisplayPlacesRepository(newContext); _picturesLinksConstructor = new PicturesLinksConstructor(); CustomizeAutomapper(); }
public AdminController() { var newContext = new StorageContext(); _kittensRepository = new DBKittensRepository(newContext); _picturesRepository = new DbPicturesRepository(newContext); _breedsRepository = new DbBreedsRepository(newContext); _ownersRepository = new DbOwnersRepository(newContext); _displayPlacesRepository = new DbDisplayPlacesRepository(newContext); _picturesLinksConstructor = new PicturesLinksConstructor(); CustomizeAutomapper(); }
public AdminController(IPicturesRepository picturesRepository, IPaintersRepository paintersRepository, IStylesRepository stylesRepository, ILogger logger, CampaignsRepository campaignsRepository, PictureLogic pictureLogic) { _picturesRepository = picturesRepository; _paintersRepository = paintersRepository; _stylesRepository = stylesRepository; _logger = logger; _campaignsRepository = campaignsRepository; this.pictureLogic = pictureLogic; }
public HomeController( IWebHostEnvironment hostEnvironment, IArticleRepository articleRepository, IElectionsRepository electionsRepository, IAuthorsRepository authorsRepository, IPicturesRepository picturesRepository, IOptions <AWSS3Settings> aws3Settings) { webHostEnvironment = hostEnvironment; _articleRepository = articleRepository; _electionsRepository = electionsRepository; _authorsRepository = authorsRepository; _picturesRepository = picturesRepository; _awsS3Settings = aws3Settings; }
public PicturesService(IPicturesRepository repository) { _repository = repository; }
public AdminPanelController(IPicturesRepository repository) { _repository = repository; }
public PicturesRule(IPicturesRepository picturesRepository) { _picturesRepository = picturesRepository; }
public PicturesManager(IPicturesRepository picturesRepository) { _picturesRepository = picturesRepository; }
public PicturesService(IPicturesRepository repPicture) { _repPicture = repPicture; }