Exemplo n.º 1
0
        public TopSecretResponseModel TopSecret(TopSecretRequestModel request)
        {
            var response = new TopSecretResponseModel();

            response.Position = _locationService.GetLocation(request.Satellites);
            response.Message  = _messageService.GetMessage(request.Satellites.Select(x => x.Message).ToList()).Trim();

            return(response);
        }
        public IActionResult TopSecretSplit()
        {
            TopSecretResponseModel response = _mainService.TopSecretSplit();

            return(Ok(response));
        }
        public IActionResult TopSecret([FromBody] TopSecretRequestModel request)
        {
            TopSecretResponseModel response = _mainService.TopSecret(request);

            return(Ok(response));
        }