Merge branch 'react-version' of https://github.com/MarcEricMartel/420-5DW-HY-TP into react-version
This commit is contained in:
commit
5fc9294786
@ -193,7 +193,7 @@ public class InvoiceController : Controller {
|
|||||||
return Ok(inv);
|
return Ok(inv);
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpPost("Cancel/{id}"), Authorize(Roles = "Client, Administrateur")]
|
[HttpPost("Cancel/{id}")]
|
||||||
public ActionResult<InvoiceModel> Cancel(int id) {
|
public ActionResult<InvoiceModel> Cancel(int id) {
|
||||||
InvoiceModel inv;
|
InvoiceModel inv;
|
||||||
List<ProductModel> prods;
|
List<ProductModel> prods;
|
||||||
|
Loading…
Reference in New Issue
Block a user