public async Task <HttpMonitor> CreateHttpMonitorAsync(CreateHttpMonitor command)
        {
            if (command == null)
            {
                throw new ArgumentNullException(nameof(command));
            }

            var httpMonitor = new HttpMonitor(HttpMonitorId.Create(), command.Request);

            await _repository.PutAsync(httpMonitor);

            return(httpMonitor);
        }
        public async Task <IActionResult> Post([FromBody] CreateHttpMonitor command)
        {
            var httpMonitor = await _service.CreateHttpMonitorAsync(command);

            return(Ok(httpMonitor));
        }