Commit Graph

4 Commits (1f897637441a9a5c43e01b84e374d836d9260a00)

Author SHA1 Message Date
JakobDev c548dde205
More refactoring of `db.DefaultContext` ()
Next step of 
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` ()
Part of 

This reduces the usage of `db.DefaultContext`. I think I've got enough
files for the first PR. When this is merged, I will continue working on
this.

Considering how many files this PR affect, I hope it won't take to long
to merge, so I don't end up in the merge conflict hell.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Lunny Xiao 4f32abaf94
move repository deletion to service layer ()
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Lunny Xiao b9df9fa2e2
Move createrepository from module to service layer ()
Repository creation depends on many models, so moving it to service
layer is better.