public async Task <ActionResult> EditStreet(EditStreetViewModel model) { if (ModelState.IsValid) { var editStreet = ParseEditStreetViewModel(model); await streetRepository.Edit(editStreet); return(RedirectToAction("Index", "Street")); } return(View(model)); }