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; }
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; }
public SuspendCancelledOrganisationsTask(IAppSession session, ISuspendOrganisationCommand suspendOrganisationCommand) { _session = session; _suspendOrganisationCommand = suspendOrganisationCommand; }