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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user