Esempio n. 1
0
        public async Task <IActionResult> GetSpaByUser([FromQuery] int userId)
        {
            var result = await _spaService.GetSpaByUser(userId);

            if (result != null)
            {
                return(Ok(result));
            }

            return(NotFound());
        }