public async Task <IActionResult> Edit(int id, [Bind("AchievementId,AchievementName,Description,NumberOfActions,TypeOfAction")] AchievementResponse achievementModel, [FromForm(Name = "editFile")] IFormFile file)
        {
            if (id != achievementModel.AchievementId)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                await _achievementService.Edit(achievementModel, file);

                return(RedirectToAction(nameof(Index)));
            }

            return(View(achievementModel));
        }