Mark OutResController as obsolete with deprecation notice

Added [Obsolete] attribute to OutResController, indicating it is deprecated and will be removed in future versions. Developers are advised to use ResultViewController instead.
This commit is contained in:
2025-12-15 17:13:05 +01:00
parent d8d77652ac
commit d0597e28e8

View File

@@ -6,6 +6,7 @@ using ReC.Application.OutResults.Queries;
namespace ReC.API.Controllers;
[Obsolete("This controller is deprecated and will be removed in future versions. Use the new ResultViewController instead.")]
[Route("api/[controller]")]
[ApiController]
public class OutResController(IMediator mediator, IConfiguration config) : ControllerBase