DRY routes between C# and Angular