this Book action is better named Profiles

This commit is contained in:
Paul Schneider 2017-02-17 18:18:42 +01:00
commit 2d0de4dc8b

View file

@ -15,10 +15,10 @@ namespace Yavsc.ApiControllers
dbContext = context; dbContext = context;
} }
[HttpGet,Route("Book/{actCode}")] [HttpGet,Route("Profiles/{actCode}")]
IEnumerable<PerformerProfile> Book (string actCode) IEnumerable<PerformerProfile> Profiles (string actCode)
{ {
return dbContext.ListPerformers(actCode); return dbContext.ListPerformers(actCode);
} }
} }
} }