Skip to content

Enhance action link generation and handling

Lukáš Drábek requested to merge fix/mailingFlow into develop
  • Updated ProjectResourceEndpoint.cs to pass HttpContext to InsertProjectResourceAsync for correct base URI in action links.
  • Modified IProjectResourceService.cs to include Microsoft.AspNetCore.Http and updated InsertProjectResourceAsync method signature to accept HostString for base URI.
  • Introduced exception handling in ActionLinkService for existing action links, throwing RecordAlreadyExistException if found.
  • Adjusted ProjectResourceService to inject IActionLinkService for action link generation and updated methods to use HostString parameter for correct base URI in emails.
  • Overall, these changes improve the application's action link generation with correct base URI, enhance exception handling, and ensure proper use of HTTP context.

Merge request reports