issues
search
GRoTD
/
GRoDT_Project
3
stars
3
forks
source link
API: SaleController
#17
Open
johan-fahlgren
opened
2 years ago
johan-fahlgren
commented
2 years ago
Tasks
/api/sales
GET
[ ]
[api/sales/id]
GetSale(Guid saleId)
[ ]
[api/sales]
GetAllSales() (
Only for Admins
)
POST
[ ]
[api/sales]
AddSale(Guid bidId, int tickets) (
trigged by auction ending
)
PUT
[ ]
[api/sales/id]
UpdateSale(Guid saleId) (
To update Payment info/status
)
Tasks
/api/sales
GET
[api/sales/id]
GetSale(Guid saleId)[api/sales]
GetAllSales() (Only for Admins)POST
[api/sales]
AddSale(Guid bidId, int tickets) (trigged by auction ending)PUT
[api/sales/id]
UpdateSale(Guid saleId) (To update Payment info/status)