Exemple #1
0
/// <summary>
        /// /invoices/{id}
        /// </summary>
        /// <param name="invoice"></param>
        /// <param name="id"></param>
        public IActionResult Put([FromBody] Models.Invoice invoice, string id)
        {
            // TODO: implement Put - route: invoices/{id}
            return(new ObjectResult(""));
        }
 public virtual IActionResult PutBase([FromBody] Models.Invoice invoice, string id)
 {
     // Do not modify this code
     return(((IInvoicesController)this).Put(invoice, id));
 }
Exemple #3
0
/// <summary>
        /// /invoices
        /// </summary>
        /// <param name="invoice"></param>
        public IActionResult Post([FromBody] Models.Invoice invoice)
        {
            // TODO: implement Post - route: invoices/invoices
            return(new ObjectResult(""));
        }
 public virtual IActionResult PostBase([FromBody] Models.Invoice invoice)
 {
     // Do not modify this code
     return(((IInvoicesController)this).Post(invoice));
 }