public void AuctionInitialize() { ctr = new AuctionCtr(); List<Member> members = new List<Member>() { new Member(), new Member(), }; List<Item> Items = new List<Item>() { new Item () {Number = 1245}, new Item () {Number = 1246}, }; auction = new Auction() { Date = DateTime.Now, //Members = members, //Items = Items }; }
public void InsertAuction(Auction auction) { repos.InsertAuction(auction); }
public void AuctionCleanUp() { ctr = null; auction = null; }
public void InsertAuction(Auction auction) { context.Auctions.Add(auction); Save(); }