InFiNet-Code-AB / Dojo-BE

0 stars 3 forks source link

# 40 database setup db seed helper/user data #83

Closed BojanMirkovic closed 7 months ago

BojanMirkovic commented 7 months ago

40 database setup db seed helper/user data

Description

I have created DatabaseSeedHelper med some basic Data.

Changes Made

I add DatabaseSeedHelper in Infrastructure DI. Because I used IPaswordHasher to hash password and properly seed data in Db I had to modify DojoDbConntext to inject DatabaseSeedHelper. I have run migration and successfully populate my local Db but I didn’t check if it is working with Swagger because we don’t have ours controls yet.

Related Ticket or Issue

56

40

57

Checklist