Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/trises/booklibobligatorisk

Oktober 2023, obligatorisk opgave 1+2.
https://github.com/trises/booklibobligatorisk

csharp csharp-library generic-repository model-class repository-pattern test-driven-development unit-testing

Last synced: 6 days ago
JSON representation

Oktober 2023, obligatorisk opgave 1+2.

Awesome Lists containing this project

README

        

# BookLibObligatorisk
Oktober 2023, obligatorisk opgave 1+2.

## Noter
Modelklasse og tilhørende repository og tests.

Har lavet generiske interfaces og baseklasser, hvilket kan virke lidt overkill når det bare var en modelklasse og et repository som skulle laves.
Dog var det lærerigt(som brush up), sjovt og kan forhåbentligt genbruges i fremtiden.

I forhold til opgaven, så er det mest interessant at kigge på disse klasser:
- Book Model (https://github.com/TrisES/BookLibObligatorisk/blob/master/BookLibObligatorisk/Models/Book.cs)
- Generisk Base Repo (https://github.com/TrisES/BookLibObligatorisk/blob/master/BookLibObligatorisk/Base/RepositoryBaseList.cs)
- Book Repo (https://github.com/TrisES/BookLibObligatorisk/blob/master/BookLibObligatorisk/BookRepositoryList.cs)
- Book Model Tests (https://github.com/TrisES/BookLibObligatorisk/blob/master/BookLibObligatoriskTests/Models/BookTests.cs)
- Book Repo Tests (https://github.com/TrisES/BookLibObligatorisk/blob/master/BookLibObligatoriskTests/BookRepositoryListTests.cs)