public PricingBookBsDTO PutPricingBooks([FromBody] PricingBookBsDTO pricingBookToUpdate, string id) { Log.Logger.Information("Client trying to Update Pricing Books List: " + id); return(_pricingDB.Update(pricingBookToUpdate, id).Result); }
public PricingBookBsDTO PostPricingBooks([FromBody] PricingBookBsDTO NewPB) { Log.Logger.Information("Client trying to Create a new Pricing Books List: " + NewPB.Id); return(_pricingDB.AddNew(NewPB).Result); }