STAGE 3-4

This commit is contained in:
2025-11-12 18:57:51 +08:00
parent 744eddcd77
commit ae09a6f487
17 changed files with 80 additions and 35 deletions

View File

@@ -15,6 +15,8 @@ using iTextSharp.text.pdf.qrcode;
public class supplierController : BaseApiController
{
// GET api/<controller>
// TODO: REVIEW - 無參數 Get() 會載入所有供應商到內存
// 若供應商數量少(<100可接受若會成長建議停用此方法
public IEnumerable<Model.supplier> Get()
{
var list = _db.suppliers.ToList();