STAGE 3-4
This commit is contained in:
@@ -17,6 +17,8 @@ using static TreeView;
|
||||
public class accountingController : BaseApiController
|
||||
{
|
||||
// GET api/<controller>
|
||||
// TODO: CRITICAL - 無參數 Get() 會載入所有會計資料到內存(可能數千筆)
|
||||
// 建議:停用此方法,強制使用分頁版本 Get(page, pageSize)
|
||||
public IEnumerable<Model.accounting> Get()
|
||||
{
|
||||
var list = _db.accountings.ToList();
|
||||
|
||||
Reference in New Issue
Block a user