Skip to content

suatacikel/ShopsRU

Repository files navigation

ShopsRUs Discount Calculate

Commands

# 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


Calculate Discount

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}

Swagger

For a easy practice [Swagger](<Project Url>/swagger)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages