public async Task <IActionResult> Create(AmigoEntity amigoEntity, IFormFile ImageFile) { if (ModelState.IsValid) { await _domainService.InsertAsync(amigoEntity, ImageFile.OpenReadStream()); return(RedirectToAction(nameof(Index))); } return(View(amigoEntity)); }