Advertisement
Guest User

Untitled

a guest
Nov 26th, 2015
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.44 KB | None | 0 0
  1. public  Lib_Primavera.Model.DocVenda Get(string id)
  2.         {
  3.             Lib_Primavera.Model.DocVenda docvenda = Lib_Primavera.PriIntegration.Encomenda_Get(id);
  4.             if (docvenda == null)
  5.             {
  6.                 throw new HttpResponseException(
  7.                         Request.CreateResponse(HttpStatusCode.NotFound));
  8.  
  9.             }
  10.             else
  11.             {
  12.                 return docvenda;
  13.             }
  14.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement