public Brand PutBrand(Brand item) { if (!_repository.Update(item)) throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.NotFound)); return item; }
public Brand PostBrand(Brand item) { return _repository.Add(item); }