public async Task <string> GetFormByPostId([FromBody] Post obj) { try { DynamicComponentController controller = new DynamicComponentController(); return(await controller.GetFormByPostId(obj.PostId)); } catch (Exception ex) { ProcessException(ex); return(string.Empty); } }