/// <summary> /// Initializes a new instance of the <see cref="FilesHelper"/> class. /// </summary> /// <param name="pictureResizerService">The picture resizer service.</param> /// <param name="hostingEnvironment">The hosting environment.</param> public FilesHelper( ICorePictureResizerService pictureResizerService, IHostingEnvironment hostingEnvironment) { this.pictureResizerService = pictureResizerService; this.hostingEnvironment = hostingEnvironment; }
/// <summary> /// Initializes a new instance of the <see cref="PictureService"/> class. /// </summary> /// <param name="filesHelper">The files helper.</param> /// <param name="corePictureService">The core picture service.</param> public PictureService( IFilesHelper filesHelper, ICorePictureResizerService corePictureService) { this.filesHelper = filesHelper; this.corePictureService = corePictureService; }