Пример #1
0
        public IActionResult Delete([FromBody] CatalogBrand productcompany)
        {
            if (productcompany == null)
            {
                return(BadRequest());
            }

            _productcompanyService.Delete(productcompany);


            return(Ok());
        }
        public void DeleteProductCompany()
        {
            CatalogBrand p = CurrentProductCompany;

            _repositoryProductCompany.Delete(p);
        }