InFiNet-Code-AB / Dojo-BE

0 stars 3 forks source link

#30 course management create course #121

Closed ElliotoDeCodo closed 6 months ago

ElliotoDeCodo commented 7 months ago

30 CourseManagement-CreateCourse

Description

I introduced CreateCourse, From endpoint,command,handler,repository method, tests

Changes Made

main changes are in controller, command, repo and tests, i also did a small change in program.cs cause me and kevin both had problems with time duration so i got the code from kevin to fix that little problem, some of the files are migrations since i forgot to do a new migration with the new model

Related Ticket or Issue

30

Checklist

HubTicaBB commented 6 months ago

Something like this was my idea for a custom base controller: https://github.com/InFiNet-Code-AB/Dojo-BE/commit/0d079aa77c053269d4e3f13a5e5ad1279ca82bef

But it is not neccessary, if it's not generally applicable.