2025-12-24 09:26:58.7754 ERROR Something went wrong: System.NotImplementedException: The method or operation is not implemented.
   at COPOSWeb.Repository.Service.DiscretionaryRequestService.DiscretionaryRequestService._GetQuestionTypeName(Int32 questionType) in C:\Users\c-jacosmit\source\repos\COPOS2\COPOSWeb\Repository\Service\DiscretionaryRequestService\DiscretionaryRequestService.cs:line 1491
   at COPOSWeb.Repository.Service.DiscretionaryRequestService.DiscretionaryRequestService.<>c__DisplayClass35_0.<GetManageDiscretionaryQuestionsViewModel>b__2(DiscretionaryRequestQuestion q) in C:\Users\c-jacosmit\source\repos\COPOS2\COPOSWeb\Repository\Service\DiscretionaryRequestService\DiscretionaryRequestService.cs:line 1454
   at System.Linq.Enumerable.SelectListIterator`2.ToList()
   at COPOSWeb.Repository.Service.DiscretionaryRequestService.DiscretionaryRequestService.GetManageDiscretionaryQuestionsViewModel(Int32 reportId, User user) in C:\Users\c-jacosmit\source\repos\COPOS2\COPOSWeb\Repository\Service\DiscretionaryRequestService\DiscretionaryRequestService.cs:line 1454
   at COPOSWeb.Controllers.DiscretionaryRequestsController.GetManageDiscretionaryQuestionsViewModel(Int32 reportId) in C:\Users\c-jacosmit\source\repos\COPOS2\COPOSWeb\Controllers\DiscretionaryRequestsController.cs:line 142
   at lambda_method5755(Closure, Object, Object[])
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
2025-12-24 09:45:23.1815 ERROR Something went wrong: System.Exception: Cannot Submit Work Plan to agencies, no allocations with a future due date
   at COPOSWeb.Repository.Service.WorkPlanAllocationService.WorkPlanAllocationService.SubmitWorkPlanToAgencies(SubmitWorkPlanToAgenciesDTO submitWorkPlanToAgencies, Guid userLoginGuid) in C:\Users\c-jacosmit\source\repos\COPOS2\COPOSWeb\Repository\Service\WorkPlanAllocationService\WorkPlanAllocationService.cs:line 353
   at COPOSWeb.Controllers.WorkPlanAllocationController.SubmitWorkPlanToAgencies(SubmitWorkPlanToAgenciesDTO submitWorkPlanToAgencies, Guid userLoginGuid) in C:\Users\c-jacosmit\source\repos\COPOS2\COPOSWeb\Controllers\WorkPlanAllocationController.cs:line 51
   at lambda_method6966(Closure, Object, Object[])
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
