Refactor IDeleteProcedure to use MediatR IRequest<int>

IDeleteProcedure now inherits from MediatR's IRequest<int>, aligning it with MediatR request/response patterns. Removed the ToObjectProcedure method from the interface. Added the MediatR using directive. Note: The namespace and using directive are now on the same line, which may need formatting correction.
This commit is contained in:
2026-03-24 09:43:36 +01:00
parent 7a1705365b
commit 71430918ac

View File

@@ -1,6 +1,7 @@
using MediatR;
namespace ReC.Application.Common.Procedures.DeleteProcedure;
public interface IDeleteProcedure
public interface IDeleteProcedure : IRequest<int>
{
public DeleteObjectProcedure ToObjectProcedure();
}