コード例 #1
0
 public HttpResponseMessage GetPurchaseOrderByID(int SO_RefID)
 {
     try
     {
         var Department = _SalesOrderService.GetSalesOrderPlan(SO_RefID);
         return(Request.CreateResponse(HttpStatusCode.OK, Department));
     }
     catch (Exception ex)
     {
         throw new ApiDataException(1000, "Department Not Found", HttpStatusCode.NotFound);
     }
 }