@using System.Web.Http @using Logs_test.Areas.HelpPage.Models @model HelpPageApiModel @{ var description = Model.ApiDescription; bool hasParameters = description.ParameterDescriptions.Count > 0; bool hasRequestSamples = Model.SampleRequests.Count > 0; bool hasResponseSamples = Model.SampleResponses.Count > 0; }
@description.Documentation
} else {No documentation available.
} @if (hasParameters || hasRequestSamples) {@description.ResponseDescription.Documentation
} else {No documentation available.
}