├── .gitattributes ├── .github └── workflows │ └── dotnet.yml ├── .gitignore ├── LeetU.Data.Tests ├── DataContext │ └── InMemoryDbContext.cs ├── LeetU.Data.Tests.csproj ├── RepositoryCrudTests.cs └── TestRepository.cs ├── LeetU.Data ├── Context │ └── StudentContext.cs ├── Entities │ ├── Address.cs │ ├── Course.cs │ ├── Student.cs │ └── StudentCourse.cs ├── Interfaces │ ├── ICourseRepository.cs │ ├── IRepositoryCrud.cs │ ├── IStudentCourseRepositoryCrud.cs │ └── IStudentRepositoryCrud.cs ├── LeetU.Data.csproj └── Repositories │ ├── CourseRepository.cs │ ├── RepositoryCrud.cs │ ├── StudentCourseRepository.cs │ └── StudentRepository.cs ├── LeetU.Models ├── Address.cs ├── Course.cs ├── Interfaces │ ├── IStudent.cs │ └── IStudentWithCourses.cs ├── LeetU.Models.csproj ├── Sex.cs ├── Student.cs └── StudentWithCourses.cs ├── LeetU.Services.Tests ├── CourseServiceTests.cs ├── EntityToModelTests.cs ├── LeetU.Services.Tests.csproj ├── ModelToEntityTests.cs └── StudentServiceTests.cs ├── LeetU.Services ├── CourseService.cs ├── Exceptions │ ├── CourseAlreadyAssignedException.cs │ └── EntityNotFoundException.cs ├── Interfaces │ ├── ICourseService.cs │ └── IStudentService.cs ├── LeetU.Services.csproj ├── Mappers │ ├── EntityToModel.cs │ └── ModelToEntity.cs └── StudentService.cs ├── LeetU.sln ├── LeetU ├── Controllers │ ├── CourseController.cs │ └── StudentController.cs ├── LeetU.csproj ├── Program.cs ├── Properties │ └── launchSettings.json ├── Student.db ├── appsettings.Development.json └── appsettings.json └── README.md /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/dotnet.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/.github/workflows/dotnet.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/.gitignore -------------------------------------------------------------------------------- /LeetU.Data.Tests/DataContext/InMemoryDbContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Data.Tests/DataContext/InMemoryDbContext.cs -------------------------------------------------------------------------------- /LeetU.Data.Tests/LeetU.Data.Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Data.Tests/LeetU.Data.Tests.csproj -------------------------------------------------------------------------------- /LeetU.Data.Tests/RepositoryCrudTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Data.Tests/RepositoryCrudTests.cs -------------------------------------------------------------------------------- /LeetU.Data.Tests/TestRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Data.Tests/TestRepository.cs -------------------------------------------------------------------------------- /LeetU.Data/Context/StudentContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Data/Context/StudentContext.cs -------------------------------------------------------------------------------- /LeetU.Data/Entities/Address.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Data/Entities/Address.cs -------------------------------------------------------------------------------- /LeetU.Data/Entities/Course.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Data/Entities/Course.cs -------------------------------------------------------------------------------- /LeetU.Data/Entities/Student.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Data/Entities/Student.cs -------------------------------------------------------------------------------- /LeetU.Data/Entities/StudentCourse.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Data/Entities/StudentCourse.cs -------------------------------------------------------------------------------- /LeetU.Data/Interfaces/ICourseRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Data/Interfaces/ICourseRepository.cs -------------------------------------------------------------------------------- /LeetU.Data/Interfaces/IRepositoryCrud.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Data/Interfaces/IRepositoryCrud.cs -------------------------------------------------------------------------------- /LeetU.Data/Interfaces/IStudentCourseRepositoryCrud.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Data/Interfaces/IStudentCourseRepositoryCrud.cs -------------------------------------------------------------------------------- /LeetU.Data/Interfaces/IStudentRepositoryCrud.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Data/Interfaces/IStudentRepositoryCrud.cs -------------------------------------------------------------------------------- /LeetU.Data/LeetU.Data.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Data/LeetU.Data.csproj -------------------------------------------------------------------------------- /LeetU.Data/Repositories/CourseRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Data/Repositories/CourseRepository.cs -------------------------------------------------------------------------------- /LeetU.Data/Repositories/RepositoryCrud.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Data/Repositories/RepositoryCrud.cs -------------------------------------------------------------------------------- /LeetU.Data/Repositories/StudentCourseRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Data/Repositories/StudentCourseRepository.cs -------------------------------------------------------------------------------- /LeetU.Data/Repositories/StudentRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Data/Repositories/StudentRepository.cs -------------------------------------------------------------------------------- /LeetU.Models/Address.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Models/Address.cs -------------------------------------------------------------------------------- /LeetU.Models/Course.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Models/Course.cs -------------------------------------------------------------------------------- /LeetU.Models/Interfaces/IStudent.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Models/Interfaces/IStudent.cs -------------------------------------------------------------------------------- /LeetU.Models/Interfaces/IStudentWithCourses.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Models/Interfaces/IStudentWithCourses.cs -------------------------------------------------------------------------------- /LeetU.Models/LeetU.Models.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Models/LeetU.Models.csproj -------------------------------------------------------------------------------- /LeetU.Models/Sex.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Models/Sex.cs -------------------------------------------------------------------------------- /LeetU.Models/Student.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Models/Student.cs -------------------------------------------------------------------------------- /LeetU.Models/StudentWithCourses.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Models/StudentWithCourses.cs -------------------------------------------------------------------------------- /LeetU.Services.Tests/CourseServiceTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Services.Tests/CourseServiceTests.cs -------------------------------------------------------------------------------- /LeetU.Services.Tests/EntityToModelTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Services.Tests/EntityToModelTests.cs -------------------------------------------------------------------------------- /LeetU.Services.Tests/LeetU.Services.Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Services.Tests/LeetU.Services.Tests.csproj -------------------------------------------------------------------------------- /LeetU.Services.Tests/ModelToEntityTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Services.Tests/ModelToEntityTests.cs -------------------------------------------------------------------------------- /LeetU.Services.Tests/StudentServiceTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Services.Tests/StudentServiceTests.cs -------------------------------------------------------------------------------- /LeetU.Services/CourseService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Services/CourseService.cs -------------------------------------------------------------------------------- /LeetU.Services/Exceptions/CourseAlreadyAssignedException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Services/Exceptions/CourseAlreadyAssignedException.cs -------------------------------------------------------------------------------- /LeetU.Services/Exceptions/EntityNotFoundException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Services/Exceptions/EntityNotFoundException.cs -------------------------------------------------------------------------------- /LeetU.Services/Interfaces/ICourseService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Services/Interfaces/ICourseService.cs -------------------------------------------------------------------------------- /LeetU.Services/Interfaces/IStudentService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Services/Interfaces/IStudentService.cs -------------------------------------------------------------------------------- /LeetU.Services/LeetU.Services.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Services/LeetU.Services.csproj -------------------------------------------------------------------------------- /LeetU.Services/Mappers/EntityToModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Services/Mappers/EntityToModel.cs -------------------------------------------------------------------------------- /LeetU.Services/Mappers/ModelToEntity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Services/Mappers/ModelToEntity.cs -------------------------------------------------------------------------------- /LeetU.Services/StudentService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.Services/StudentService.cs -------------------------------------------------------------------------------- /LeetU.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU.sln -------------------------------------------------------------------------------- /LeetU/Controllers/CourseController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU/Controllers/CourseController.cs -------------------------------------------------------------------------------- /LeetU/Controllers/StudentController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU/Controllers/StudentController.cs -------------------------------------------------------------------------------- /LeetU/LeetU.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU/LeetU.csproj -------------------------------------------------------------------------------- /LeetU/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU/Program.cs -------------------------------------------------------------------------------- /LeetU/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU/Properties/launchSettings.json -------------------------------------------------------------------------------- /LeetU/Student.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU/Student.db -------------------------------------------------------------------------------- /LeetU/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU/appsettings.Development.json -------------------------------------------------------------------------------- /LeetU/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/LeetU/appsettings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edgeofsanity76/LeetU/HEAD/README.md --------------------------------------------------------------------------------