From 3922d28a8b14bc35ecbe724762b11e7f1330d5a7 Mon Sep 17 00:00:00 2001 From: Daniel Wathen Date: Thu, 5 Jan 2023 12:49:30 -0700 Subject: [PATCH] Added testing endpoing to API --- ReportingServices.API/Controllers/FabTimeController.cs | 6 ++++++ ReportingServices.UI/Views/Shared/_Layout.cshtml | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ReportingServices.API/Controllers/FabTimeController.cs b/ReportingServices.API/Controllers/FabTimeController.cs index 310cee8..a85d0c5 100644 --- a/ReportingServices.API/Controllers/FabTimeController.cs +++ b/ReportingServices.API/Controllers/FabTimeController.cs @@ -42,5 +42,11 @@ namespace ReportingServices.API.Controllers { return await _fabTimeReportingRepository.GetToolStateData(toolType); } + + [HttpGet("Testing")] + public string Testing() + { + return "This Works!"; + } } } diff --git a/ReportingServices.UI/Views/Shared/_Layout.cshtml b/ReportingServices.UI/Views/Shared/_Layout.cshtml index bd3299a..364806f 100644 --- a/ReportingServices.UI/Views/Shared/_Layout.cshtml +++ b/ReportingServices.UI/Views/Shared/_Layout.cshtml @@ -6,7 +6,6 @@ @ViewData["Title"] - ReportingServices -