public ActionResult AddEditClient(int?clientId) { ClientViewModel objAddEdit = new ClientViewModel(); objAddEdit.CargarDatos(clientId); trabajoparcialEntities context = new trabajoparcialEntities(); objAddEdit.City = new SelectList(context.City, "cityId", "name"); return(View(objAddEdit)); }