Exemple #1
0
        public async Task <ActionResult <Color> > GetColor(int id)
        {
            var color = await _IColor.FindAsync(id);

            if (color == null)
            {
                return(NotFound());
            }

            return(color);
        }