Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ResponseType(typeof(Exam))]
- public async Task<IHttpActionResult> GetExam(int id)
- {
- ...
- return Ok(exam);
- }
- public HttpResponseMessage GetExam(int id)
- {
- ...
- return Request.CreateResponse(HttpStatusCode.OK, exam);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement