Exemplo n.º 1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="context">The context.</param>
 public void DeleteAuction(IAuctionIdentity context)
 {
     var manager = new AuctionSettingsManager(this.ServiceContext);
     manager.Delete(context);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="context">The context.</param>
 /// <returns></returns>
 public IAuctionSettings ReadAuction(IAuctionIdentity context)
 {
     var manager = new AuctionSettingsManager(this.ServiceContext);
     return manager.Read(context);
 }
Exemplo n.º 3
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="settings">The settings.</param>
 /// <returns></returns>
 public IAuctionIdentity CreateAuction(BiddingMethod biddingMethod, DateTime endDate)
 {
     var manager = new AuctionSettingsManager(this.ServiceContext);
     return manager.Create(biddingMethod, endDate);
 }