zikalol
❔ .net 7 custom filters from query params
Hello, what is the best practice to do filters depends on the params i send from the frontend
What i have guessed is to make a model for what filters i can send. is is the right thing to do or there is another generic way to do it ?
Any advices are appreciated I need help
2 replies
❔ ❔ Better way to map object
Hello guys, i have an object called Room and it have building,floor,zone data
PS: ofc i rows 4 inherits row 3 and row 3 inherits row 2 etc..
i have done it with automapper I autoMap all rows to the row4 class then i aggregate the list to a tuple that contains lists of row 1 row 2 row 3 then i map them again to row4 class then i add them to the original list.
Is there any better way to do it ? i have used aggregate to just generate all data with one loop
4 replies