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)); } }
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)); } }