public FormController(IAttractionRepository attractionRepository, ICottageRepository cottageRepository, IImageGroupRepository imageGroupRepository, IImageRepository imageRepository, IFacebookPostRepository facebookPostRepository, IMapper mapper) { _attractionRepository = attractionRepository; _cottageRepository = cottageRepository; _imageGroupRepository = imageGroupRepository; _imageRepository = imageRepository; _facebookPostRepository = facebookPostRepository; _mapper = mapper; }
public UploadedImageRepository( BorrowerRiskRatingContext context, IMapper mapper, IImageGroupRepository imageGroupRepository, IConfiguration configuration, IFileFormatInspector fileInspector ) : base(context, mapper) { this.imageGroupRepository = imageGroupRepository; this.configuration = configuration; this.fileInspector = fileInspector; }