public JsonResult Get(int id) { try { return(Json(serviceAcompanhamentos.PesquisarId(id))); } catch (Exception ex) { return(Json(new { Erro = ex.Message + " " + ex.InnerException })); } }
public JsonResult Get(int id) { try { return(Json(serviceAcompanhamentos.PesquisarId(id))); } catch (Exception ex) { throw; } }