public async Task <ActionResult> Create(ProblemDto value) { try { if (ModelState.IsValid) { //await db.Create(value); await db.CreateReletionUnit(value); return(RedirectToAction("Index")); } } catch { ModelState.AddModelError("", "Unable to save changes. Try again, and if the problem persists see your system administrator."); } return(View(value)); }