public CartService(IUserRepository userRepository, IListingRepository listingRepository, IUnitOfWork unitOfWork) : this(new AppUserManager(new UserStore <AppUser>(unitOfWork.DbContext))) { this.userRepository = userRepository; this.listingRepository = listingRepository; this.unitOfWork = unitOfWork; userName = ""; }
public ListingService(IListingRepository listingRepository, IConfiguration configuration) { _listingRepository = listingRepository; _configuration = configuration; _elastic = new ElasticClient(new ConnectionSettings(new Uri(_configuration["url:elastic"])) .DefaultIndex("listings")); }
// private IDocumentSession _unitOfWork; public CreateAuctionService(IAuctionRepository auctions, IListingRepository listing, ISellerService sellerService) { _auctions = auctions; _sellerService = sellerService; _listings = listing; // _unitOfWork = unitOfWork; }
public ObjectivesService(IObjectiveRepository objectiveRepository, IListingRepository listingRepository, IUnitOfWork unitOfWork) : this(new AppUserManager(new UserStore<AppUser>(unitOfWork.DbContext))) { this.objectiveRepository = objectiveRepository; this.listingRepository = listingRepository; this.unitOfWork = unitOfWork; userName = ""; }
public MediacenterRepositories(Func <IMvcContext> mvcContext, ISitecoreHelper sitecoreHelper, IListingRepository listingRepository, IMediacenterViewmodel mediacenterViewmodel) { _mvcContext = mvcContext; _mediacenterViewmodel = mediacenterViewmodel; _listingRepository = listingRepository; _sitecoreHelper = sitecoreHelper; }
public GetListingsService(IListingRepository listingRepository, IMapper mapper, ILogger <GetListingsService> logger) { _listingRepository = listingRepository; _mapper = mapper; _logger = logger; }
public BrowseCommand(IListingRepository listingRepository, IHttpContextAccessor httpContextAccessor, ILogger <ListingCommand> logger) { _httpContextAccessor = httpContextAccessor; _listingRepository = listingRepository; _logger = logger; }
public CompanyStoreDataSeederContributor(IRepository <Company, Guid> companiesRepository, IListingRepository authorRepository, ListingManager authorManager) { _companiesRepository = companiesRepository; _authorRepository = authorRepository; _authorManager = authorManager; }
public EditListingCommandHandler( IListingRepository listingRepository, IBus publisher) { this.listingRepository = listingRepository; this.publisher = publisher; }
public CartService(IUserRepository userRepository, IListingRepository listingRepository, IUnitOfWork unitOfWork) : this(new AppUserManager(new UserStore<AppUser>(unitOfWork.DbContext))) { this.userRepository = userRepository; this.listingRepository = listingRepository; this.unitOfWork = unitOfWork; userName = ""; }
public CreateListingViewModel(IListingRepository listingRepository, IRealtorRepository realtorRepository) { this.Garage = 0; this.IsPublished = true; _listingRepository = listingRepository; _realtorRepository = realtorRepository; }
public ListingController( IListingRepository listingRepository, IRepository <Neighbourhood> neighbourhoodRepository, IDistributedCache distributedCache) : base(distributedCache) { ListingRepository = listingRepository; NeighbourhoodRepository = neighbourhoodRepository; }
public HomeController(ILogger <HomeController> logger, INewsPostRepository newsRepo, IListingRepository listingRepo, UserManager <AppUser> usrMgr) { _logger = logger; newsRepository = newsRepo; listingRepository = listingRepo; userManager = usrMgr; }
public ListingCommand(IListingRepository listingRepository, IHttpContextAccessor httpContextAccessor, ILogger <ListingCommand> logger, ILogService logService) { _logService = logService; _httpContextAccessor = httpContextAccessor; _listingRepository = listingRepository; _logger = logger; }
public ListingsController(IPetOwnerRepository po, IAnimalRepository animalRepo, IListingRepository listingRepo, IEggRepository eggRepo) { _poRepo = po; _aRepo = animalRepo; _listingRepo = listingRepo; _eggRepo = eggRepo; }
public ObjectivesService(IObjectiveRepository objectiveRepository, IListingRepository listingRepository, ISiteRepository siteRepository, IUnitOfWork unitOfWork) : this(new AppUserManager(new UserStore <AppUser>(unitOfWork.DbContext))) { this.objectiveRepository = objectiveRepository; this.listingRepository = listingRepository; this.siteRepository = siteRepository; this.unitOfWork = unitOfWork; userName = ""; }
public ListingCreationService(IListingRepository listingRepository, ICollaborationRepository collaborationRepository, IRelationshipRepository relationshipRepository, ITeamModelRepository teamModelRepository)//IDatingRepository datingRepository) { _listingRepository = listingRepository; _collaborationRepository = collaborationRepository; _relationshipRepository = relationshipRepository; // _datingRepository = datingRepository; _teamModelRepository = teamModelRepository; }
public ListingAppService( IListingRepository listingRepository, ListingManager listingManager, IRepository <Company, Guid> companiesRepository) { _listingRepository = listingRepository; _listingManager = listingManager; _companiesRepository = companiesRepository; }
public CacheService(IListingRepository listingRepository, IUserRepository userRepository, ISiteRepository siteRepository, IUnitOfWork unitOfWork, IMemoryCache _cache) : this(new AppUserManager(new UserStore <AppUser>(unitOfWork.DbContext))) { this._cache = _cache; this.listingRepository = listingRepository; this.userRepository = userRepository; this.siteRepository = siteRepository; this.unitOfWork = unitOfWork; userName = ""; }
public AskAQuestionService(IListingRepository listings, IQuestionRepository questions, IClock clock) { _listings = listings; _questions = questions; //_unitOfWork = unitOfWork; _clock = clock; }
public ListingController ( IListingRepository listingRepository, IHostingEnvironment hostingEnvironment ) { this._listingRepository = listingRepository; _hostingEnvironment = hostingEnvironment; }
public ListingController() { dbcontext = new Context(); mapper = new Mapper(dbcontext); listingRepo = new SqlServerListingRepository(dbcontext); productCategoryRepo = new SqlServerCategoryRepository(dbcontext); bidRepo = new SqlServerBidRepository(dbcontext); commentRepo = new SqlServerCommentRepository(dbcontext); }
public ApiService(IAuctionRepository auctionRepository, IUserRepository userRepository, IListingRepository listingRepository, IObjectiveRepository objectiveRepository, ISiteRepository siteRepository, IUnitOfWork unitOfWork) : this(new AppUserManager(new UserStore <AppUser>(unitOfWork.DbContext))) { this.auctionRepository = auctionRepository; this.userRepository = userRepository; this.listingRepository = listingRepository; this.objectiveRepository = objectiveRepository; this.siteRepository = siteRepository; this.unitOfWork = unitOfWork; }
public SiteService(ISiteRepository siteRepository, IUserRepository userRepository, IListingRepository listingRepository, IGiveawayRepository giveawayRepository, IAuctionRepository auctionRepository, IUnitOfWork unitOfWork) : this(new AppUserManager(new UserStore <AppUser>(unitOfWork.DbContext))) { this.siteRepository = siteRepository; this.userRepository = userRepository; this.listingRepository = listingRepository; this.giveawayRepository = giveawayRepository; this.auctionRepository = auctionRepository; this.unitOfWork = unitOfWork; userName = ""; }
public UserService(IListingRepository listingRepository, IUserRepository userRepository, IPrizeRepository prizeRepository, IGiveawayRepository giveawayRepository, IAuctionRepository auctionRepository, IObjectiveRepository objectiveRepository, IUnitOfWork unitOfWork) : this(new AppUserManager(new UserStore <AppUser>(unitOfWork.DbContext))) { this.listingRepository = listingRepository; this.userRepository = userRepository; this.prizeRepository = prizeRepository; this.giveawayRepository = giveawayRepository; this.auctionRepository = auctionRepository; this.objectiveRepository = objectiveRepository; this.unitOfWork = unitOfWork; userName = ""; }
public UserService(IListingRepository listingRepository, IUserRepository userRepository, IPrizeRepository prizeRepository, IGiveawayRepository giveawayRepository, IAuctionRepository auctionRepository, IObjectiveRepository objectiveRepository, IUnitOfWork unitOfWork) : this(new AppUserManager(new UserStore<AppUser>(unitOfWork.DbContext))) { this.listingRepository = listingRepository; this.userRepository = userRepository; this.prizeRepository = prizeRepository; this.giveawayRepository = giveawayRepository; this.auctionRepository = auctionRepository; this.objectiveRepository = objectiveRepository; this.unitOfWork = unitOfWork; userName = ""; }
public CreateListingCommandHandler( IDealRepository dealRepository, IDealFactory dealFactory, IListingRepository listingRepository, IBus publisher) { this.listingRepository = listingRepository; this.dealRepository = dealRepository; this.dealFactory = dealFactory; this.publisher = publisher; }
public PetOwnerController(IPetOwnerRepository repo, IConfiguration config , IImageRepository imageRepo, IListingRepository liRepo, IEggRepository eggRepo, UserManager <IdentityUser> um) { _poRepo = repo; _config = config; _imageRepo = imageRepo; _eggRepo = eggRepo; _listingRepo = liRepo; _um = um; }
public Mapper(Context _dbcontext) { this.dbcontext = _dbcontext; listingRepo = new SqlServerListingRepository(dbcontext); bidRepo = new SqlServerBidRepository(dbcontext); commentRepo = new SqlServerCommentRepository(dbcontext); userRepo = new SqlServerUserRepository(dbcontext); shippingRepo = new SqlServerShippingRepository(dbcontext); statusRepo = new SqlServerStatusRepository(dbcontext); categoryRepo = new SqlServerCategoryRepository(dbcontext); avatarRepo = new SqlServerAvatarRepository(dbcontext); }
public UserAnalysisService(IFriendListRepo friendListRepo, IListingRepository listingRepository, IUserAccountRepository userAccountRepository, ILoginTrackerRepo loginTrackerRepo, IPageVisitTrackerRepo pageVisitTrackerRepo, IFriendRequestListRepo friendRequestListRepo, /*ITraditionalListingSearchRepository * traditionalListingSearchRepository,*/ISearchTrackerRepo searchTrackerRepo) { _friendListRepo = friendListRepo; _listingRepository = listingRepository; _userAccountRepository = userAccountRepository; _loginTrackerRepo = loginTrackerRepo; _pageVisitTrackerRepo = pageVisitTrackerRepo; _friendRequestListRepo = friendRequestListRepo; // _traditionalListingSearchRepository = traditionalListingSearchRepository; _searchTrackerRepo = searchTrackerRepo; }
public CreateListingCommandHandler( IListingRepository listingRepository, IListingFactory listingFactory, IUserSellerRepository userSellerRepository, IBus publisher, ICurrentUserService currentUserService) { this.listingRepository = listingRepository; this.listingFactory = listingFactory; this.publisher = publisher; this.currentUserService = currentUserService; this.userSellerRepository = userSellerRepository; }
public ListingService(IListingRepository listingRepository, IRepairJobService repairJobService, ICarService carService, IStatusService statusService, IMediaService mediaService, IMapper mapper) { _listingRepository = listingRepository; _repairJobService = repairJobService; _carService = carService; _statusService = statusService; _mediaService = mediaService; _mapper = mapper; }
public ListingController( IListingRepository listingRepo, IRealtorRepository realtorRepo, IWebHostEnvironment hostEnvironment, UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager ) { this.listingRepo = listingRepo; this.realtorRepo = realtorRepo; this.hostEnvironment = hostEnvironment; this.userManager = userManager; this.roleManager = roleManager; }
public Integration_Tests() { lr = new EF_ListingRepository(db); }
public ListingsController() { _repository = new ListingRepository(); }
// private IDocumentSession _unitOfWork; public WatchItemService(IListingRepository listings, IWatchedItemRepository watchedItems) { _watchedItems = watchedItems; _listings = listings; // _unitOfWork = unitOfWork; }
public SearchController() { lr = new EF_ListingRepository(db); }
public SearchController(IDBConnectionContext context) { db = context; lr = new EF_ListingRepository(db); }
public ListingService() { _listingRepository = new ListingRepository(); }