-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Labels
.NETPull requests that update .NET codePull requests that update .NET codeenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Description
The current project structure places both repositories and the database file under the root directory. For improved organization and clarity, we need to extract the repository-related files into their own folder while keeping the database file in the existing Data folder. This will make the project structure cleaner and more maintainable.
Suggested Approach
- Create a new folder named
Repositoriesin the root directory. - Move the following files from the root directory to the
Repositoriesfolder:IPlayerRepository.csIRepository.csPlayerRepository.csRepository.cs
- Ensure that the
PlayerDbContext.csfile remains in the root orDatafolder as appropriate, based on your project structure. - Verify that the
players-sqlite3.dbfile stays in theDatafolder. - Adjust namespaces and any necessary references in the code to reflect the new folder structure.
- Run tests to ensure the functionality is not broken after the restructuring.
Acceptance Criteria
- The
Repositoriesfolder exists and contains the following files:IPlayerRepository.csIRepository.csPlayerRepository.csRepository.cs
- The
Datafolder still contains the database fileplayers-sqlite3.db. - All relevant namespaces and using directives are updated accordingly.
- The application runs without errors, and all tests pass after the restructuring.
Metadata
Metadata
Assignees
Labels
.NETPull requests that update .NET codePull requests that update .NET codeenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers