public ApplicationController(IMapper mapper , IDeleteApplicationCommand deleteApplicationCommand , IAddApplicationCommand addApplicationCommand , IEditApplicationCommand editApplicationCommand , GetApplicationByIdQuery getApplicationByIdQuery , IGetVendorByIdQuery getVendorByIdQuery , GetClaimSetNamesQuery getClaimSetNamesQuery , GetProfilesQuery getProfilesQuery , RegenerateApiClientSecretCommand regenerateApiClientSecretCommand , IOdsApiFacadeFactory odsApiFacadeFactory , InstanceContext instanceContext) { _mapper = mapper; _deleteApplicationCommand = deleteApplicationCommand; _addApplicationCommand = addApplicationCommand; _editApplicationCommand = editApplicationCommand; _getApplicationByIdQuery = getApplicationByIdQuery; _getVendorByIdQuery = getVendorByIdQuery; _getClaimSetNamesQuery = getClaimSetNamesQuery; _getProfilesQuery = getProfilesQuery; _regenerateApiClientSecretCommand = regenerateApiClientSecretCommand; _odsApiFacadeFactory = odsApiFacadeFactory; _instanceContext = instanceContext; }
internal Task <IResult> GetClaimSets(GetClaimSetNamesQuery getClaimSetsQuery) { var calimSets = getClaimSetsQuery.Execute().ToList(); return(Task.FromResult(AdminApiResponse <List <string> > .Ok(calimSets))); }