public void SetControl(IOfferControlView oc, int j) { oc.BidderNameField = offers[j].BiddrName; oc.BidPriceField = currencyRepo.Exchange(offers[j].Price, currencyCode); oc.BidDateField = offers[j].Date.ToString("dd.MM.yyyy hh:mm"); view.BidderId = offers[j].BidderId; }
public OfferControlPresenter(IAuctionPageView view, IOfferControlView controlView) { this.view = view; this.controlView = controlView; }