Пример #1
0
 public CompleteGoalCommand(IGoalsWriteDbOperations goalsWriteDbOperations,
                            IGoalsGetDbOperations goalsGetDbOperations,
                            IDateTimeService dateTimeService,
                            IMessageBus messageBus)
 {
     this.goalsWriteDbOperations = goalsWriteDbOperations;
     this.goalsGetDbOperations   = goalsGetDbOperations;
     this.dateTimeService        = dateTimeService;
     this.messageBus             = messageBus;
 }
Пример #2
0
        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();
        }
Пример #3
0
 public UserGoalsQuery(IGoalsGetDbOperations goalsGetDbOperations)
 {
     this.goalsGetDbOperations = goalsGetDbOperations;
 }
Пример #4
0
 public GoalQuery(IGoalsGetDbOperations goalsGetDbOperations)
 {
     this.goalsGetDbOperations = goalsGetDbOperations;
 }