send the billing code along with the query

This commit is contained in:
2018-02-07 20:04:12 +01:00
parent 9857aef89a
commit b29bc43d50
18 changed files with 47 additions and 27 deletions

View File

@ -53,7 +53,8 @@ namespace Yavsc.Controllers
Id = c.Id,
Previsional = c.Previsional,
Reason = c.Reason,
ActivityCode = c.ActivityCode
ActivityCode = c.ActivityCode,
BillingCode = c.BillingCode
}).
OrderBy(c=>c.Id).
Take(25);

View File

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