AoC.Questionnaire.Program.GetJsonData C# (CSharp) Method

GetJsonData() private static method

private static GetJsonData ( string>.IDictionary parameters, NHttp.HttpRequestEventArgs e ) : void
parameters string>.IDictionary
e NHttp.HttpRequestEventArgs
return void
        private static void GetJsonData(IDictionary<string, string> parameters, HttpRequestEventArgs e)
        {
            if (!Session.IsAuthenticated(e))
            {
                DefaultResponses.RedirectResponse(e, "/admin/login");
                return;
            }

            DefaultResponses.Json(e, Db.Entries);
        }