public PhotosController(IHostingEnvironment host, IRealEstateRepository realEstateRepository, IPhotoRepository photoRepository, IMapper mapper, IOptionsSnapshot <PhotoSettings> options, IPhotoService photoService) { this.photoService = photoService; this.photoSettings = options.Value; this.mapper = mapper; this.realEstateRepository = realEstateRepository; this.photoRepository = photoRepository; this.host = host; }
public MainWindow() { InitializeComponent(); var container = new Container(_ => { _.Scan(x => { x.TheCallingAssembly(); x.WithDefaultConventions(); }); _.For <IRealEstateRepository>().Use <RealEstateRepository>(); }); realEstateRepository = container.GetInstance <IRealEstateRepository>(); }
public UserPhotoController(IRealEstateRepository repo, IMapper mapper, IOptions <CloudinarySettings> cloudinaryConfig) { _cloudinaryConfig = cloudinaryConfig; _mapper = mapper; _repo = repo; Account acc = new Account( _cloudinaryConfig.Value.CloudName, _cloudinaryConfig.Value.ApiKey, _cloudinaryConfig.Value.ApiSecret ); _cloudinary = new Cloudinary(acc); }
public RealEstateService(IPersistenceContext persistenceContext, IServiceLocator serviceLocator) { PersistenceContext = persistenceContext; ServiceLocator = serviceLocator; Repository = ServiceLocator.GetInstance <IRealEstateRepository>(); }
public UsersController(IRealEstateRepository repo, IMapper mapper) { _mapper = mapper; _repo = repo; }
public HousesController(IRealEstateRepository repo, IMapper mapper) { _repo = repo; _mapper = mapper; }
public HousesController(IRealEstateRepository repository, ILogger<HousesController> logger, CoordService coordService) { _repository = repository; _logger = logger; _coordService = coordService; }
public RealEstateService(IRealEstateRepository realEstateRepository) { _realEstateRepository = realEstateRepository; }
public RealEstateService(IRealEstateRepository realEstateRepository, UserManager <User> userManager) { _realEstateRepository = realEstateRepository; _userManager = userManager; }
public ImagesController(IRealEstateRepository repository, ILogger<HousesController> logger) { _repository = repository; _logger = logger; }
public RealEstatesController(IMapper mapper, IRealEstateRepository realEstateRepository, IUnitOfWork unitOfWork) { this.unitOfWork = unitOfWork; this.repository = realEstateRepository; this.mapper = mapper; }
public HomeController(IRealEstateRepository realEstateRepository) { _realEstateRepository = realEstateRepository; }
public RealEstateController(IDepartmentRepository departmentRepository, ICategoryRepository categoryRepository, IRealEstateRepository realEstateRepository) { _departmentRepository = departmentRepository; _categoryRepository = categoryRepository; _realEstateRepository = realEstateRepository; }
public AppController(Services.IMailService service, IRealEstateRepository dbContext) { _mailService = service; _repository = dbContext; }
public ShoppingCartController(IRealEstateRepository realEstateRepository, ShoppingCart shoppingCart) { _realEstateRepository = realEstateRepository; _shoppingCart = shoppingCart; }