コード例 #1
0
ファイル: TPLController.cs プロジェクト: ph3405/FAS-CSZJ-SAAS
 public ResponseFPtplListSearch FPTplSearch([FromBody] RequestFPtplListSearch request)
 {
     try
     {
         TPLBLL bll = new TPLBLL();
         return(bll.FPtplListSearch(request));
     }
     catch (Exception ex)
     {
         throw new HttpResponseException(
                   Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex.Message));
     }
 }
コード例 #2
0
ファイル: TPLController.cs プロジェクト: ph3405/FAS-CSZJ-SAAS
 public ResponseTPLDelete TPLDelete([FromBody] RequestTPLDelete request)
 {
     try
     {
         TPLBLL bll = new TPLBLL();
         return(bll.TPLDelete(request));
     }
     catch (Exception ex)
     {
         throw new HttpResponseException(
                   Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex.Message));
     }
 }