Exemple #1
0
        public void DeleteFornecedor(string cnpj)
        {
            Fornecedor item = repositorio.Get(cnpj);

            if (item == null)
            {
                throw new HttpResponseException(HttpStatusCode.NotFound);
            }

            repositorio.Remove(cnpj);
        }