/// <summary> /// Saves an image on disk in a temporary location. /// </summary> /// <param name="image">The ID of the current user.</param> /// <param name="userId">The image that has been uploaded.</param> /// <param name="uploadsPath">The path to the Uploads folder.</param> public void SaveImageTemporarily(HttpPostedFileBase image, string userId, string uploadsPath) { string fullOriginalPath = string.Empty; string fullThumbnailPath = string.Empty; FileSystemFacade.SaveUploadedImage(userId, image, uploadsPath, out fullOriginalPath, out fullThumbnailPath); PathOnDisk = fullOriginalPath; ThumbnailPathOnDisk = fullThumbnailPath; }