Beispiel #1
0
        public async Task <ActionResult> GetSingleSize(int id)
        {
            var result = await _sizeService.GetSingleSizeByIdAsync(id);

            if (result == null)
            {
                return(NotFound("The size record couldn't be found."));
            }
            return(Ok(result));
        }