public async Task <ActionResult> Edit(Technology technology) { if (ModelState.IsValid) { await DbAdaptor.EditTechnologyAsync(technology); return(RedirectToAction("Index")); } return(View(technology)); }