Example #1
0
 public HttpResponseMessage Dashboard(int colegioId)
 {
     try
     {
         var response = _servico.Dashboard(colegioId);
         return(Response(response, _servico));
     }
     catch (Exception ex)
     {
         return(ResponseException(ex));
     }
 }
Example #2
0
        public JsonResult Dashboard()
        {
            var retorno = _servicoCurso.Dashboard();

            return(Json(retorno, JsonRequestBehavior.AllowGet));
        }