Esempio n. 1
0
        public async Task <ActionResult <Color> > PostColor(Color color)
        {
            _IColor.Add(color);
            await _IColor.SaveAsync();

            return(CreatedAtAction("GetColor", new { id = color.ColorId }, color));
        }