I have a command
public class UpdateEntityCommand: IRequest<bool>
{
public int Id { get; set; }
public IEnumerable<OtherEntityDto> Instruments{ get; set; }
}
I need to update many entities in one request. Can I do something like this or there are a better way?
public class UpdateEntitiesCommand: IRequest<bool>
{
public IEnumerable<UpdateEntityCommand> Commands { get; set; }
}