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>.
10 lines
200 B
C#
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; }
|
|
} |