Update [Obsolete] messages to mention procedures or views
Updated [Obsolete] attribute messages across several commands, handlers, and the mapping profile to clarify that related procedures or views should be used instead. Added [Obsolete] to CreateOutResCommand. No functional changes made.
This commit is contained in:
@@ -6,13 +6,13 @@ using ReC.Domain.Entities;
|
||||
|
||||
namespace ReC.Application.RecActions.Commands;
|
||||
|
||||
[Obsolete("Use the related procedure.")]
|
||||
[Obsolete("Use the related procedure or view.")]
|
||||
public class DeleteRecActionsCommand : IRequest
|
||||
{
|
||||
public required long ProfileId { get; init; }
|
||||
}
|
||||
|
||||
[Obsolete("Use the related procedure.")]
|
||||
[Obsolete("Use the related procedure or view.")]
|
||||
public class DeleteRecActionsCommandHandler(IRepository<RecAction> repo) : IRequestHandler<DeleteRecActionsCommand>
|
||||
{
|
||||
public async Task Handle(DeleteRecActionsCommand request, CancellationToken cancel)
|
||||
|
||||
Reference in New Issue
Block a user