Esempio n. 1
0
 public IHttpActionResult GetAllLite()
 {
     try
     {
         IList <PagesModelLite> pages = _pagesService.GetAllLiteAsync().Result;
         return(Ok(pages));
     }
     catch (Exception ex)
     {
         return(InternalServerError(ex));
     }
 }