public async Task <ActionResult> Edit(SeminarViewModel seminarViewModel) { try { await seminarService.UpdateAsync(mapper.Map <SeminarDTO>(seminarViewModel)); return(RedirectToAction(nameof(Seminar))); } catch { return(View()); } }