Non related but i was thinking and havent tried yet. I am considering using records as dtos towards my repositories instead of class dtos, please give me advise about this aswell. But the real question is whether it is possible to use records as parameters in the controller methods. Do you know?
@MilanJovanovicTech
4 ай бұрын
Yes, it's possible
@10Totti
4 ай бұрын
C#13 new implicit/explicit method !!!!
@MilanJovanovicTech
4 ай бұрын
What?
@10Totti
4 ай бұрын
@@MilanJovanovicTech public implicit extension PersonExtension for Person { public bool IsLead => this.Organization .Teams .Any(team => team.Lead == this); }
Пікірлер: 10