자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public IActionResult CompleteInvoice(Invoice invoice) { if (_repo.GetById(invoice.InvoiceId) == null) { return(NotFound("No invoice with that id found.")); } _repo.Complete(invoice); return(Ok()); }