public static string Create(IFormFile file)
        {
            var imagePath = GetImagePath(file);
            var fullPath  = GetFullPath(file, imagePath);

            file.Create(fullPath);
            return(imagePath);
        }
        public static string Update(IFormFile file, string existingPath)
        {
            File.Delete(existingPath);
            var imagePath = GetImagePath(file);
            var fullPath  = GetFullPath(file, imagePath);

            file.Create(fullPath);
            return(imagePath);
        }