Пример #1
0
 public async Task <string> GetPostNameByPostId([FromBody] int postId)
 {
     try
     {
         DynamicComponentController controller = new DynamicComponentController();
         return(await controller.GetPostNameByPostId(postId));
     }
     catch (Exception ex)
     {
         ProcessException(ex);
         return(string.Empty);
     }
 }