Files
ReC/src/ReC.Application/Common/Procedures/UpdateProcedure/IUpdateProcedure.cs
TekH b3bb7144ef Refactor IUpdateProcedure to generic with Id and Data props
Changed IUpdateProcedure to a generic interface IUpdateProcedure<T>, adding Id (long) and Data (T) properties for improved type safety and flexibility in update procedures. The interface continues to inherit from IRequest<int>.
2026-03-24 11:10:47 +01:00

10 lines
200 B
C#

using MediatR;
namespace ReC.Application.Common.Procedures.UpdateProcedure;
public interface IUpdateProcedure<T> : IRequest<int>
{
public long Id { get; set; }
public T Data { get; set; }
}