コード例 #1
0
 public SubscriptionController(IGetAvailablePaymentPlansQuery getAvailablePaymentPlansQuery,
                               ICompleteSignUpCommand completeSignUpCommand,
                               IEncryptor encryptor,
                               ICancelSubscriptionCommand cancelSubscriptionCommand,
                               IChangeSubscriptionCommand changeSubscriptionCommand,
                               ISuspendOrganisationCommand suspendOrganisationCommand)
 {
     _getAvailablePaymentPlansQuery = getAvailablePaymentPlansQuery;
     _completeSignUpCommand         = completeSignUpCommand;
     _encryptor = encryptor;
     _cancelSubscriptionCommand  = cancelSubscriptionCommand;
     _changeSubscriptionCommand  = changeSubscriptionCommand;
     _suspendOrganisationCommand = suspendOrganisationCommand;
 }
コード例 #2
0
 public OrganisationsController(IPagingViewModelGenerator pagingViewModelGenerator,
                                IGetOrganisationsQuery getOrganisationsQuery,
                                IGetUsersQuery getUsersQuery,
                                ISuspendOrganisationCommand suspendOrganisationCommand,
                                IActivateOrganisationCommand activateOrganisationCommand,
                                IMatchRuleFactoryFactory matchRuleFactoryFactory,
                                IGetApplicationsQuery getApplicationsQuery,
                                IDeleteOrganisationCommand deleteOrganisationCommand,
                                IGetOrganisationStatisticsQuery getOrganisationStatisticsQuery)
 {
     _pagingViewModelGenerator       = pagingViewModelGenerator;
     _getOrganisationsQuery          = getOrganisationsQuery;
     _getUsersQuery                  = getUsersQuery;
     _suspendOrganisationCommand     = suspendOrganisationCommand;
     _activateOrganisationCommand    = activateOrganisationCommand;
     _matchRuleFactoryFactory        = matchRuleFactoryFactory;
     _getApplicationsQuery           = getApplicationsQuery;
     _deleteOrganisationCommand      = deleteOrganisationCommand;
     _getOrganisationStatisticsQuery = getOrganisationStatisticsQuery;
 }
コード例 #3
0
 public SuspendCancelledOrganisationsTask(IAppSession session,
                                          ISuspendOrganisationCommand suspendOrganisationCommand)
 {
     _session = session;
     _suspendOrganisationCommand = suspendOrganisationCommand;
 }