コード例 #1
0
 public IHttpActionResult List(Dictionary <string, object> SearchData)
 {
     try
     {
         string ServerImageURL = Lib.GetSeverImageURL(SearchData["comp_code"].ToString());
         using (DocService obj = new DocService())
             return(Ok(obj.List(SearchData, ServerImageURL)));
     }
     catch (Exception Ex)
     {
         return(ResponseMessage(Request.CreateErrorResponse(HttpStatusCode.BadRequest, Ex.Message.ToString())));
     }
 }