示例#1
0
 public AppHarborController(ICreateOrganisationCommand createOrganisationCommand, IDeleteOrganisationCommand deleteOrganisationCommand, IAuthenticationManager authenticationManager, ISetExternallyBilledSubscriptionCommand setExternallyBilledSubscriptionCommand)
 {
     _createOrganisationCommand = createOrganisationCommand;
     _deleteOrganisationCommand = deleteOrganisationCommand;
     _authenticationManager     = authenticationManager;
     _setExternallyBilledSubscriptionCommand = setExternallyBilledSubscriptionCommand;
 }
示例#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;
 }
 public DeleteSuspendedOrganisationsTask(IAppSession session, IDeleteOrganisationCommand deleteOrganisationCommand)
 {
     _session = session;
     _deleteOrganisationCommand = deleteOrganisationCommand;
 }