public async Task <IActionResult> CreateImage(ImageViewModel img) { var files = HttpContext.Request.Form.Files; await _service.CreateImageAsync(img.ImgModel, files); return(RedirectToAction(nameof(Index))); }