79540830

Date: 2025-03-28 08:03:32
Score: 1.5
Natty:
Report link

You might want to use a class derivative of ActionFilterAttribute class. Just look for that derivative here at stack overflow. I use this for my REST methods and they are a good way of removing self referencing loops. The magic here is that you can assign interface\contracts that are allowed to get JSONed.

The only weakness here (or maybe someone has a solution) is to solve the employee/manager relationship.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: user1675811