# Run Project
dotnet run --project ShopsRu.DiscountAPI
# Build Project
dotnet build
# build for production and publish
dotnet publish
# run tests
dotnet test
More details commands --> https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet
Given a bill endpoints returns the final invoice amount including the discount.
## Calculate Endpoint
Request to endpoint invoiceId in url
Endpoint: <project url>/api/v1/discount/calculate/{invoiceId}
For a easy practice [Swagger](<Project Url>/swagger)