Exemplo n.º 1
0
 public async Task <IList <PostData> > GetPostDataByPostId([FromBody] PostData obj)
 {
     try
     {
         DynamicComponentController controller = new DynamicComponentController();
         return(await controller.GetPostDataByPostId(obj.PostId, obj.offset, obj.limit, GetSiteID));
     }
     catch (Exception ex)
     {
         ProcessException(ex);
         return(null);
     }
 }