Exemplo n.º 1
0
 public async Task <IList <Post> > GetPost([FromBody] string keyword)
 {
     try
     {
         DynamicComponentController controller = new DynamicComponentController();
         return(await controller.GetPost(keyword, GetSiteID));
     }
     catch (Exception ex)
     {
         ProcessException(ex);
         return(null);
     }
 }