Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Double Route
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Double Route
Versions des environnements
Environment:
C# 5.0
OS:
Windows 10
Database:
MS SQL Server
Divers
Thread ID:
01661249
Message ID:
01661249
Vues:
52
Hi,

I want to understand the following code:
[Route("{prodId}/shows/{id}")]
        [Route("shows/{id}")]
        [HttpGet]
        public IHttpActionResult GetShow(long id)
Does the above mean that both routes will work and execute this method?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform