// GET: Account/Edit/5 public async Task <ActionResult> Edit(int id) { try { var vm = await _accountServices.GetById(id); await Init(vm); return(View(vm)); } catch (Exception ex) { return(View()); } }