Update IUpdateProcedure to use MediatR IRequest<int>

Refactored IUpdateProcedure to inherit from MediatR's IRequest<int> for integration with the MediatR pipeline. Removed the ToObjectProcedure method and added the necessary using directive for MediatR. This simplifies the interface and standardizes request handling.
This commit is contained in:
2026-03-24 09:44:41 +01:00
parent 246362812a
commit 329d156d08

View File

@@ -1,6 +1,7 @@
using MediatR;
namespace ReC.Application.Common.Procedures.UpdateProcedure;
public interface IUpdateProcedure
public interface IUpdateProcedure : IRequest<int>
{
public UpdateObjectProcedure ToObjectProcedure(long id, string? changedWho = null);
}