Refactor TestController
Opened this issue · 0 comments
isalzh commented
Description:
- Rename controller to TestCardController or something more meaningful.
- Implement all required logic in the TestCardService for getting/persisting required data from data layer.
- Move all business-sensitive logic to BL;
- Create independent data models for particular service;
- Do not expose any DAL model to Web layer;
- Cover BL service with unit tests.
Acceptance Criteria:
TestCardController must not contain any /Data (Repository, ApplicationDbContext, ...) dependency