Exemple #1
0
        public async Task <ActionResult <Value> > GetValueByIdAsync(Guid id)
        {
            var result = await _valueService.GetValueByIdAsync(id);

            if (result == null)
            {
                return(BadRequest());
            }

            return(Ok(result));
        }