public CompleteGoalCommand(IGoalsWriteDbOperations goalsWriteDbOperations, IGoalsGetDbOperations goalsGetDbOperations, IDateTimeService dateTimeService, IMessageBus messageBus) { this.goalsWriteDbOperations = goalsWriteDbOperations; this.goalsGetDbOperations = goalsGetDbOperations; this.dateTimeService = dateTimeService; this.messageBus = messageBus; }
public AssignOpenedGoalsRandomlyCommand(IGoalsGetDbOperations goalsGetDbOperations, IGoalsWriteDbOperations goalsWriteDbOperations, IAssigneesGetDbOperations assigneesGetDbOperations, IDateTimeService dateTimeService, IMessageBus messageBus) { this.goalsGetDbOperations = goalsGetDbOperations; this.goalsWriteDbOperations = goalsWriteDbOperations; this.assigneesGetDbOperations = assigneesGetDbOperations; this.dateTimeService = dateTimeService; this.messageBus = messageBus; random = new Random(); }
public UserGoalsQuery(IGoalsGetDbOperations goalsGetDbOperations) { this.goalsGetDbOperations = goalsGetDbOperations; }
public GoalQuery(IGoalsGetDbOperations goalsGetDbOperations) { this.goalsGetDbOperations = goalsGetDbOperations; }