STAGE 3-4
This commit is contained in:
1 parent
744eddcd77
commit
ae09a6f487
17 files changed
+80
-35
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user