使用技術: 三層架構 AutoMapper FluentAPI DI Entity Framework AutoMapper來處理Entity和ViewModel之間轉換(Mapping)。 FluentAPI處理ViewModel的驗證 DI 依賴注入,降低耦合性. Entity Framework code first