public JsonResult Cadastrar(TimeModelCadastro model) { try { using (TimeServiceClient service = new TimeServiceClient()) { service.Cadastrar(model); } return(Json("Time cadastrado.")); } catch (Exception e) { return(Json(e.Message)); } }