예제 #1
0
        /// <summary>
        /// Handles the specified request.
        /// </summary>
        /// <param name="request">The request.</param>
        /// <param name="cancellationToken">The cancellation token.</param>
        /// <returns>Task&lt;System.Boolean&gt;.</returns>
        public async Task <bool> Handle(AzureDeleteResourcesByNameCommand request, CancellationToken cancellationToken)
        {
            await _azureResourceService.DeleteResourcesByResourceName(request.ResourceName, request.CredentialsId);

            return(true);
        }