public JsonResult Editar(TimeModelConsulta model) { try { var resultado = new TimeModelConsulta(); using (TimeServiceClient service = new TimeServiceClient()) { resultado = service.Editar(model.IdTime); } return(Json(resultado)); } catch (Exception e) { return(Json(e.Message)); } }