public async Task <IActionResult> Edit(UpdateViewModel editModel, ICollection <IFormFile> images) { var notification = NotificationType.Success; try { editModel.Property.EstateImages = ProcessImageFileData(images); await _propertyViewModelService.UpdateProperty(editModel.Property); } catch { notification = NotificationType.Error; } return(RedirectToAction(nameof(Edit), new { id = editModel.Property.Id, notification })); }