public IActionResult GetAll() { var result = _carColorService.GetAll(); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }
public IActionResult GetAll() { //ICarColorService _carColorService=new CarColorManager(new EFCarColorDal()); var result = _carColorService.GetAll(); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }