public void Handle(CreateBacklogCommand command) { var backlog = Backlog.Create(0, command.Title, Enum.Parse <BacklogTypeEnum>(command.Type), Enum.Parse <BacklogPriorityEnumType>(command.Priority), Enum.Parse <BacklogStatusEnum>(command.Status), ResolutionEnumType.New, command.Description, null, null, DateTime.Today, null); _gswContext.Backlogs.Add(backlog); _gswContext.SaveChanges(); }