Beispiel #1
0
        public ActionResult <bool> RemoveManufacturer(string id)
        {
            var isSuccsess = _computerService.DeleteManufacturer(id);

            if (isSuccsess)
            {
                return(Ok());
            }
            return(BadRequest($"A manufacturer with {id} id doesn't exsist!"));
        }