public JsonResult GetTotals() { try { var ret = _courseApp.GetCoursesTotal(); return(Json(ret)); } catch (Exception e) { //TODO: IMPLEMENT LOG AND ERRO TREATMENT return(Json("Error")); } }
public JsonResult GetTotals() { try { var ret = _courseApp.GetCoursesTotal(); return(Json(ret)); } catch (Exception e) { //TODO: IMPLEMENT LOG AND ERRO TREATMENT return(Json("Error")); } }