-
@description.Documentation
-
-
Request Information
-
-
URI Parameters
- @Html.DisplayFor(m => m.UriParameters, "Parameters")
-
-
Body Parameters
-
-
@Model.RequestDocumentation
-
- @if (Model.RequestModelDescription != null)
- {
- @Html.DisplayFor(m => m.RequestModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.RequestModelDescription })
- if (Model.RequestBodyParameters != null)
- {
- @Html.DisplayFor(m => m.RequestBodyParameters, "Parameters")
- }
- }
- else
- {
-
None.
- }
-
- @if (Model.SampleRequests.Count > 0)
- {
-
Request Formats
- @Html.DisplayFor(m => m.SampleRequests, "Samples")
- }
-
-
Response Information
-
-
Resource Description
-
-
@description.ResponseDescription.Documentation
-
- @if (Model.ResourceDescription != null)
- {
- @Html.DisplayFor(m => m.ResourceDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.ResourceDescription })
- if (Model.ResourceProperties != null)
- {
- @Html.DisplayFor(m => m.ResourceProperties, "Parameters")
- }
- }
- else
- {
-
None.
- }
-
- @if (Model.SampleResponses.Count > 0)
- {
-
Response Formats
- @Html.DisplayFor(m => m.SampleResponses, "Samples")
- }
-
-
\ No newline at end of file
diff --git a/Browar/Browar/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml b/Browar/Browar/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml
deleted file mode 100644
index 8623d8d..0000000
--- a/Browar/Browar/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml
+++ /dev/null
@@ -1,4 +0,0 @@
-@using Browar.Areas.HelpPage
-@model ImageSample
-
-Sample not available.
-}
\ No newline at end of file
diff --git a/Browar/Browar/Areas/HelpPage/Views/Help/DisplayTemplates/KeyValuePairModelDescription.cshtml b/Browar/Browar/Areas/HelpPage/Views/Help/DisplayTemplates/KeyValuePairModelDescription.cshtml
deleted file mode 100644
index 5b7a30c..0000000
--- a/Browar/Browar/Areas/HelpPage/Views/Help/DisplayTemplates/KeyValuePairModelDescription.cshtml
+++ /dev/null
@@ -1,4 +0,0 @@
-@using Browar.Areas.HelpPage.ModelDescriptions
-@model KeyValuePairModelDescription
-Pair of @Html.DisplayFor(m => Model.KeyModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.KeyModelDescription }) [key]
-and @Html.DisplayFor(m => Model.ValueModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.ValueModelDescription }) [value]
\ No newline at end of file
diff --git a/Browar/Browar/Areas/HelpPage/Views/Help/DisplayTemplates/ModelDescriptionLink.cshtml b/Browar/Browar/Areas/HelpPage/Views/Help/DisplayTemplates/ModelDescriptionLink.cshtml
deleted file mode 100644
index 72a85d5..0000000
--- a/Browar/Browar/Areas/HelpPage/Views/Help/DisplayTemplates/ModelDescriptionLink.cshtml
+++ /dev/null
@@ -1,26 +0,0 @@
-@using Browar.Areas.HelpPage.ModelDescriptions
-@model Type
-@{
- ModelDescription modelDescription = ViewBag.modelDescription;
- if (modelDescription is ComplexTypeModelDescription || modelDescription is EnumTypeModelDescription)
- {
- if (Model == typeof(Object))
- {
- @:Object
- }
- else
- {
- @Html.ActionLink(modelDescription.Name, "ResourceModel", "Help", new { modelName = modelDescription.Name }, null)
- }
- }
- else if (modelDescription is CollectionModelDescription)
- {
- var collectionDescription = modelDescription as CollectionModelDescription;
- var elementDescription = collectionDescription.ElementDescription;
- @:Collection of @Html.DisplayFor(m => elementDescription.ModelType, "ModelDescriptionLink", new { modelDescription = elementDescription })
- }
- else
- {
- @Html.DisplayFor(m => modelDescription)
- }
-}
\ No newline at end of file
diff --git a/Browar/Browar/Areas/HelpPage/Views/Help/DisplayTemplates/Parameters.cshtml b/Browar/Browar/Areas/HelpPage/Views/Help/DisplayTemplates/Parameters.cshtml
deleted file mode 100644
index d8688d8..0000000
--- a/Browar/Browar/Areas/HelpPage/Views/Help/DisplayTemplates/Parameters.cshtml
+++ /dev/null
@@ -1,48 +0,0 @@
-@using System.Collections.Generic
-@using System.Collections.ObjectModel
-@using System.Web.Http.Description
-@using System.Threading
-@using Browar.Areas.HelpPage.ModelDescriptions
-@model IList