Open GSSBilly opened 5 years ago
[不需要額外宣告]
https://github.com/Sallyyyyy/.NetMVCWorkShop1/blob/1ecafdb0fa1b5393881a2509a99757150d7cbb48/MVCWorkShop1/Views/Library/Index.cshtml#L4
[所有 Dom 物件請使用 Razor Helper 產生]
https://github.com/Sallyyyyy/.NetMVCWorkShop1/blob/1ecafdb0fa1b5393881a2509a99757150d7cbb48/MVCWorkShop1/Views/Library/Index.cshtml#L44-L48
https://github.com/Sallyyyyy/.NetMVCWorkShop1/blob/1ecafdb0fa1b5393881a2509a99757150d7cbb48/MVCWorkShop1/Views/Library/Index.cshtml#L64-L65
https://github.com/Sallyyyyy/.NetMVCWorkShop1/blob/1ecafdb0fa1b5393881a2509a99757150d7cbb48/MVCWorkShop1/Views/Library/Index.cshtml#L75-L80
[EditorFor 有緩存機制應謹慎使用,並留意 Model State的控制]
https://github.com/Sallyyyyy/.NetMVCWorkShop1/blob/1ecafdb0fa1b5393881a2509a99757150d7cbb48/MVCWorkShop1/Views/Library/InsertBook.cshtml#L24
冗餘程式碼
[不需要額外宣告]
https://github.com/Sallyyyyy/.NetMVCWorkShop1/blob/1ecafdb0fa1b5393881a2509a99757150d7cbb48/MVCWorkShop1/Views/Library/Index.cshtml#L4