this Book action is better named Profiles

vnext
Paul Schneider 8 years ago
parent 4e1595b55a
commit 8acd67a89d
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…