Esempio n. 1
0
 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));
     }
 }
Esempio n. 2
0
 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));
     }
 }