public JsonResult Atualizar(TimeModelEdicao model) { try { using (TimeServiceClient service = new TimeServiceClient()) { service.Atualizar(model); } return(Json("Time atualizado")); } catch (Exception e) { return(Json(e.Message)); } }