Ejemplo n.º 1
0
        public async Task <IActionResult> CreateAchievement(Achievement model, IFormFile file)
        {
            var ach = await _service.MakeAchievement(model);

            var achId = ach.Id;

            await UploadThreadImage(file, achId);

            return(RedirectToAction("Index"));
        }