예제 #1
0
 public async Task <int> UpdatePost([FromBody] Post obj)
 {
     try
     {
         DynamicComponentController controller = new DynamicComponentController();
         return(await controller.UpdatePost(obj, GetSiteID, GetUsername));
     }
     catch (Exception ex)
     {
         ProcessException(ex);
         return(0);
     }
 }