Update InvoiceController.cs
This commit is contained in:
		@@ -193,7 +193,7 @@ public class InvoiceController : Controller {
 | 
			
		||||
        return Ok(inv);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    [HttpPost("Cancel/{id}"), Authorize(Roles = "Client, Administrateur")]
 | 
			
		||||
    [HttpPost("Cancel/{id}")]
 | 
			
		||||
    public ActionResult<InvoiceModel> Cancel(int id) {
 | 
			
		||||
        InvoiceModel inv;
 | 
			
		||||
        List<ProductModel> prods;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user