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