Exemple #1
0
        public async Task <IActionResult> DefaultAwardImage(IFormFile newImage)
        {
            if (newImage != null)
            {
                await _imageLogic.UploadDefaultAwardImageAsync(newImage, _env.WebRootPath);
            }

            return(RedirectToAction("DefaultAwardImage", "Award"));
        }