STAGE 3-4

This commit is contained in:
yiming committed 2025-11-12 18:57:51 +08:00
1 parent 744eddcd77
commit ae09a6f487
17 files changed
+80 -35

No files matched your search

+2
View File
@@ -12,6 +12,8 @@ using System.Collections;
public class bedController : BaseApiController
{
// GET api/<controller>
// TODO: CRITICAL - 無參數 Get() 會載入所有掛單到內存(可能數千筆)
// 建議:停用此方法,強制使用分頁版本 Get(page, pageSize)
public IEnumerable<Model.bed_order> Get()
{
var list = _db.bed_order.ToList();