public ActionResult Edit(SeminarCreateViewModel model, Guid id) { if (ModelState.IsValid) { var x = model; Seminar seminar = new Seminar { Id = model.Id, Title = model.Title, Description = model.Description, Content = model.Content }; _seminarService.UpdateSeminar(seminar); return(RedirectToAction("Index")); } return(View(model)); }