Exemple #1
0
        public IActionResult FindByYachtId(string yachtIdEncrypted)
        {
            var yachtId      = DecryptValue(yachtIdEncrypted);
            var baseresponse = _yachtTourOperationDetailService.FindByYachtId(yachtId);

            if (baseresponse.IsSuccessStatusCode)
            {
                return(Ok(baseresponse));
            }
            return(BadRequest());
        }