public ActionResult UserEdit(int id, FormCollection collection) { try { _usersservice.AddNewUsersById(id, collection); Thread.Sleep(300); return(RedirectToAction("Users")); } catch { return(View(_usersservice.GetUsersById(id))); } }