// 取得來自 Form Controller 所輸入欲查詢烏龜認證的參數 public string get認證資訊(string m品種, string m序號) { // new a proxy class which realize the subject interface I龜庫接口 subject = new 龜庫Proxy(); // via the proxy object to get the result. string 認證結果 = subject.Get認證資訊(m品種, m序號); return(認證結果); }
// 取得來自 Form Controller 所輸入欲查詢烏龜認證的參數 public string get認證資訊(string m品種, string m序號) { // new a proxy class which realize the subject interface I龜庫接口 subject = new 龜庫Proxy(); // via the proxy object to get the result. string 認證結果 = subject.Get認證資訊(m品種, m序號); return 認證結果; }