Skip to content

STD-26 | TheoryBlock Repository#16

Merged
WerewolfNet merged 9 commits into
RepoStudyfrom
STD-26
Sep 14, 2021
Merged

STD-26 | TheoryBlock Repository#16
WerewolfNet merged 9 commits into
RepoStudyfrom
STD-26

Conversation

@zefirlover
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Collaborator

@WerewolfNet WerewolfNet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Везде забыл добавить await _context.SaveChangesAsync();

Comment thread server/StudySharp.DomainServices/Repositories/TheoryBlockRepository.cs Outdated
Comment thread server/StudySharp.DomainServices/Repositories/TheoryBlockRepository.cs Outdated
Comment thread server/StudySharp.DomainServices/Repositories/TheoryBlockRepository.cs Outdated
Comment thread server/StudySharp.DomainServices/Repositories/TheoryBlockRepository.cs Outdated
Comment thread server/StudySharp.DomainServices/Repositories/TheoryBlockRepository.cs Outdated
_context is now readonly
if statement and FindAsync in GetTheoryBlocksByCourseIdAsync was deleted
"potentially deleted if statement" in Update was added
"potentially deleted if statement" comment was removed
"()" in return new OperationResult were removed too
Comment thread server/StudySharp.DomainServices/Repositories/TheoryBlockRepository.cs Outdated
AlternativeResult was renamed to BuildErrorResponse
Method moved to the end of the TheoryBlockRepository.cs
@WerewolfNet WerewolfNet changed the base branch from dev to RepoStudy September 13, 2021 18:48
@WerewolfNet WerewolfNet merged commit 86b3acb into RepoStudy Sep 14, 2021
@WerewolfNet WerewolfNet deleted the STD-26 branch September 14, 2021 17:57
WerewolfNet pushed a commit that referenced this pull request Sep 30, 2021
* STD-26 | TheoryBlock Repository (#16)

* ITheoryBlockRepository was added

* TheoryBlockRepo was added
Trying to fix it now

* TheoryBlockRepository.cs was added
I`ll try to fix it now

* TheoryBlockRepository.cs done

* TheoryBlockRepository.cs redacted, pre-dev 1
_context is now readonly
if statement and FindAsync in GetTheoryBlocksByCourseIdAsync was deleted
"potentially deleted if statement" in Update was added

* Minor changes, pre-dev 2
"potentially deleted if statement" comment was removed

* SaveChangesAsync was added, pre-dev 3
"()" in return new OperationResult were removed too

* Method AlternativeResult was added to implement DRY principle, pre-dev 4

* AlternativeResult method changes, pre-dev 5
AlternativeResult was renamed to BuildErrorResponse
Method moved to the end of the TheoryBlockRepository.cs

* STD-24 | Tag Repository (#17)

* Added ITagRepository interface and TagRepository class

* Were realised methods in TagRepository

* Inverted if statements.

Co-authored-by: Егор Павшук <egor.pavshuk@outlook.com>
Co-authored-by: Maria Dodonova <maridodonova@gmail.com>

* Std 27 (#25)

* STD-14 | Add code analyzers (#18)

* STD-29 | Add global error handler (#19)

* STD-29 | Add global error handler

* Fixes

* Created IPracticalBlockRepository interface in the StudySharp.Domain/Repositories folder

Created PracticalBlockRepository class in the StudySharp.DomainServices/Repositories folder

* Fixed StudySharpDbContext.cs

* PracticalBlockRepository.cs sealed added

Co-authored-by: SleepyF0X <kotohomka@gmail.com>

* Std 25 (#23)

* STD-14 | Add code analyzers (#18)

* STD-29 | Add global error handler (#19)

* STD-29 | Add global error handler

* Fixes

* Create build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update main.yml

* Update main.yml

* STD-5 | CI\CD (#20)

* Docker support

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update Dockerfile

* Docker support

* Test

* Test db

* Test db v2

* Update main.yml

* Test something

* Test dev mode

* Test dev mode v2

* Test dev mode v3

* Test dev mode v3

* Update main.yml

* Update main.yml

* Added ICourseRepository interface and CourseRepository class

* STD-25 | Added ICourseRepository interface and CourseRepository class

Co-authored-by: SleepyF0X <kotohomka@gmail.com>

* STD-36 | PracticalBlock commands\queries

* Fixed STD-36

* Fixed spaces

* Some fixes

* Rename and Cancellation token

* Fixed Update

* Rename handler

Co-authored-by: zefirlover <71660586+zefirlover@users.noreply.github.com>
Co-authored-by: Egor-Pavshuk <70218372+Egor-Pavshuk@users.noreply.github.com>
Co-authored-by: Егор Павшук <egor.pavshuk@outlook.com>
Co-authored-by: Maria Dodonova <maridodonova@gmail.com>
Co-authored-by: Andrew <47719935+Evenya@users.noreply.github.com>
Co-authored-by: SleepyF0X <kotohomka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants