/// <summary>
 /// Initializes a new instance of the <see cref="ListingController"/> class.
 /// </summary>
 /// <param name="listingAdapter">The listing adapter.</param>
 public ListingController(
     IListingAdapter listingAdapter,
     IPropertyAdapter propertyAdapter,
     ISearchAdapter searchAdapter,
     IOrderAdapter orderAdapter,
     IFeaturedAdapter featuredAdapter,
     IListingFacade listingFacade)
 {
     this.listingAdapter = listingAdapter;
     this.propertyAdapter = propertyAdapter;
     this.searchAdapter = searchAdapter;
     this.orderAdapter = orderAdapter;
     this.featuredAdapter = featuredAdapter;
     this.listingFacade = listingFacade;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ListingController"/> class.
 /// </summary>
 /// <param name="listingAdapter">The listing adapter.</param>
 public ListingController(
     IListingAdapter listingAdapter,
     IPropertyAdapter propertyAdapter,
     ISearchAdapter searchAdapter,
     IOrderAdapter orderAdapter,
     IFeaturedAdapter featuredAdapter,
     IListingFacade listingFacade)
 {
     this.listingAdapter  = listingAdapter;
     this.propertyAdapter = propertyAdapter;
     this.searchAdapter   = searchAdapter;
     this.orderAdapter    = orderAdapter;
     this.featuredAdapter = featuredAdapter;
     this.listingFacade   = listingFacade;
 }
 public ReportedController(IListingFacade listingFacade)
 {
     this.listingFacade = listingFacade;
 }
 public ReportedController(IListingFacade listingFacade)
 {
     this.listingFacade = listingFacade;
 }