public JsonResult Get() { try { return(Json(serviceCliente.ListaTodos())); } catch (Exception ex) { return(Json(new { Erro = ex.Message + " " + ex.InnerException })); } }
public JsonResult Get() { try { return(Json(serviceCliente.ListaTodos())); } catch (Exception ex) { return(Json(new { Erro = ex.Message + " " + ex.InnerException })); } }