Example #1
0
 public AccountController(GetUsersQuery getUsersQuery, ChangeDepartmentCommand changeDepartmentCommand, ChangePasswordCommand changePasswordCommand, AuthenticateUserCommand authenticateUserCommand, TaskExecutor.TaskExecutor taskExecutor)
 {
     this.authenticateUserCommand = authenticateUserCommand;
     this.changePasswordCommand   = changePasswordCommand;
     this.changeDepartmentCommand = changeDepartmentCommand;
     this.getUsersQuery           = getUsersQuery;
     this.taskExecutor            = taskExecutor;
 }
Example #2
0
 public NotificationsController(GetNewNotificationsQuery getNewNotificationsQuery, CheckForNewNotificationsQuery checkForNewNotificationsQuery, CreateNotificationCommand createNotificationCommand, MarkNotificationAsSeenCommand markNotificationAsSeenCommand, GetNotificationsQuery getNotificationsQuery, TaskExecutor.TaskExecutor taskExecutor)
 {
     this.getNotificationsQuery         = getNotificationsQuery;
     this.getNewNotificationsQuery      = getNewNotificationsQuery;
     this.createNotificationCommand     = createNotificationCommand;
     this.markNotificationAsSeenCommand = markNotificationAsSeenCommand;
     this.checkForNewNotificationsQuery = checkForNewNotificationsQuery;
     this.taskExecutor = taskExecutor;
 }