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