Exemplo n.º 1
0
        public async Task <IActionResult> DeleteMessageContract(string topicId, string type)
        {
            try
            {
                await _capabilityServiceClient.RemoveMessageContract(topicId, type);
            }
            catch (HttpRequestException)
            {
                return(BadRequest());
            }

            return(NoContent());
        }