Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 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);
 }