/// <summary> /// Delete a Product /// </summary> public void Delete(Models.Product product) { if (product == null || !ModelState.IsValid) { throw new HttpException((int)HttpStatusCode.BadRequest, "Invalid Request"); } productService.DeleteProduct(product.CreateFrom()); }