public ProductBsDTO PutProduct(string id, [FromBody] ProductBsDTO updateProduct)
 {
     Log.Logger.Information("Client trying to Update Product: " + updateProduct.Code);
     return(_productDB.Update(updateProduct, id).Result);
 }
 public ProductBsDTO PostProduct([FromBody] ProductBsDTO newproductDTO)
 {
     Log.Logger.Information("Client trying to Create a new Product: " + newproductDTO.Code);
     return(_productDB.AddNew(newproductDTO).Result);
 }