public ActionResult EditEvent([Bind(Prefix = "EventFormDto")] EventFormDto eventFormDto) { if (!ModelState.IsValid) { var eventFormViewModel = _eventService.GetEventFormViewModel(); eventFormViewModel.EventFormDto = eventFormDto; return(View(eventFormViewModel)); } _eventService.EditEvent(eventFormDto); _photoService.EditPhotos(eventFormDto.Id, eventFormDto.PhotoNames); return(RedirectToAction("ShowEvents")); }