Example #1
0
        public async Task <ActionResult <CarModelDto> > DeleteCarModel(int id)
        {
            var color = await carModelService.DeleteEntity(id);

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

            return(Ok());
        }