Пример #1
0
 public async Task <IList <PostData> > GetPostDataByKey([FromBody] PostData data)
 {
     try
     {
         DynamicComponentController controller = new DynamicComponentController();
         return(await controller.GetPostDataByKey(data.PostKey, data.offset.ToString(), data.limit.ToString(), GetSiteID.ToString()));
     }
     catch (Exception ex)
     {
         ProcessException(ex);
         return(null);
     }
 }