public ImageService(IRepositoryFactory repositoryFactory) { _imageRepository = repositoryFactory.CreateImageRepository(); }