public async Task <ActionResult <Color> > GetColor(int id) { var color = await _IColor.FindAsync(id); if (color == null) { return(NotFound()); } return(color); }
public async Task <ActionResult <Color> > GetColor(int id) { var color = await _IColor.FindAsync(id); if (color == null) { return(NotFound()); } return(color); }