public IActionResult Add(Color color) { var result = _colorService.AddService(color); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }
public IActionResult Add(Color color) { var result = _colorService.AddService(color); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }