Skip to content
This repository
Browse code

Added non-generic JsonResponse

  • Loading branch information...
commit 525fbbe46925f809f181de1e28fdba302b06ec56 1 parent 3505dff
Mark Rendle markrendle authored

Showing 2 changed files with 8 additions and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  .gitignore
  2. +7 0 src/Nancy/Responses/JsonResponse.cs
1  .gitignore
@@ -16,3 +16,4 @@ build/
16 16 [Oo]bj/
17 17 [Rr]elease/
18 18 _[Rr]e[Ss]harper.*/
  19 +*.docstates
7 src/Nancy/Responses/JsonResponse.cs
@@ -28,4 +28,11 @@ private static Action<Stream> GetJsonContents(TModel model)
28 28 };
29 29 }
30 30 }
  31 +
  32 + public class JsonResponse : JsonResponse<object>
  33 + {
  34 + public JsonResponse(object model) : base(model)
  35 + {
  36 + }
  37 + }
31 38 }

0 comments on commit 525fbbe

Please sign in to comment.
Something went wrong with that request. Please try again.