Advertisement
Guest User

Untitled

a guest
Apr 18th, 2014
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. [ResponseType(typeof(Exam))]
  2. public async Task<IHttpActionResult> GetExam(int id)
  3. {
  4. ...
  5. return Ok(exam);
  6. }
  7.  
  8. public HttpResponseMessage GetExam(int id)
  9. {
  10. ...
  11. return Request.CreateResponse(HttpStatusCode.OK, exam);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement