Refactor OpenQuestionCreateController
Opened this issue · 0 comments
isalzh commented
Description:
- Create separate BL service;
- Implement all required logic 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.
Follow "TestCardService" structure as example.
Acceptance Criteria:
OpenQuestionCreateControllermust not contain any /Data (Repository, ApplicationDbContext, ...) dependency