this Book action is better named Profiles
This commit is contained in:
parent
5a85d7b27f
commit
2d0de4dc8b
1 changed files with 3 additions and 3 deletions
|
|
@ -15,10 +15,10 @@ namespace Yavsc.ApiControllers
|
|||
dbContext = context;
|
||||
}
|
||||
|
||||
[HttpGet,Route("Book/{actCode}")]
|
||||
IEnumerable<PerformerProfile> Book (string actCode)
|
||||
[HttpGet,Route("Profiles/{actCode}")]
|
||||
IEnumerable<PerformerProfile> Profiles (string actCode)
|
||||
{
|
||||
return dbContext.ListPerformers(actCode);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue