Revize 08c1fa42
Přidáno uživatelem Milan Hotovec před téměř 4 roky(ů)
src/Modules/Goal/Infrastructure/Leuze.Modules.Goal.Infrastructure.Persistence/DependencyInjection.cs | ||
---|---|---|
57 | 57 |
|
58 | 58 |
//TODO: This is debug delet this |
59 | 59 |
var user = context.Set<DomainUser>().Where(item => item.EmailAddress.Email == "ma@test.cz").FirstOrDefault(); |
60 |
GoalDefinition gd = new GoalDefinition(user, user, new GlobalDefinitionArea(user, DateTime.Now, DateTime.Now.AddDays(10)) ,"Test Goal definition"); |
|
60 |
GlobalDefinitionArea area = new GlobalDefinitionArea(user, DateTime.Now, DateTime.Now.AddDays(10)); |
|
61 |
context.Add(area); |
|
62 |
GoalDefinition gd = new GoalDefinition(user, user, area, "Test Goal definition"); |
|
61 | 63 |
context.Add(gd); |
62 | 64 |
context.SaveChanges(); |
63 | 65 |
} |
Také k dispozici: Unified diff
UnassignedList add