private async Task <ImageEntry> SaveAndProcessImage(IFormFile uploadedImage, User user)
        {
            string     fileName = SaveImage(uploadedImage, user);
            ImageEntry image    = new ImageEntry()
            {
                ImagePath = fileName,
                User      = user
            };

            image.IsValid = await _pythonRunner.ValidateImage(image);

            if (!image.IsValid)
            {
                return(null);
            }

            return(image);
        }