public UserEndpoint(IUserAdapter <TUser> userAdapter, IUserTokenProvider userTokenProvider, IUserClaimsProvider <TUser> userClaimsProvider, IOrderAdapter orderAdapter) { _userAdapter = userAdapter; _userTokenProvider = userTokenProvider; _userClaimsProvider = userClaimsProvider; _orderAdapter = orderAdapter; }
/// <summary> /// Initializes a new instance of the <see cref="OrderController"/> class. /// </summary> /// <param name="orderAdapter">The order adapter.</param> public OrderController( IOrderAdapter orderAdapter, IPropertyAdapter propertyAdapter, IAuthAdapter authAdapter) { this.orderAdapter = orderAdapter; this.propertyAdapter = propertyAdapter; this.authAdapter = authAdapter; }
/// <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; }
/// <summary> /// Initializes a new instance of the <see cref="PropertyController"/> class. /// </summary> /// <param name="propertyAdapter">The property adapter.</param> public PropertyController( IPropertyAdapter propertyAdapter, ISearchAdapter searchAdapter, IListingAdapter listingAdapter, IFeaturedAdapter featuredAdapter, IOrderAdapter orderAdapter, IAuthAdapter authAdapter, IPropertyFacade propertyFacade) { this.propertyAdapter = propertyAdapter; this.searchAdapter = searchAdapter; this.listingAdapter = listingAdapter; this.featuredAdapter = featuredAdapter; this.orderAdapter = orderAdapter; this.authAdapter = authAdapter; this.propertyFacade = propertyFacade; }
public OrderEndpoint(IOrderAdapter orderAdapter) { _orderAdapter = orderAdapter; }
/// <summary> /// Initializes a new instance of the <see cref="PropertyAdapter"/> class. /// </summary> /// <param name="authAdapter">The auth adapter.</param> /// <param name="orderAdapter">The order adapter.</param> public PropertyAdapter(IAuthAdapter authAdapter, IOrderAdapter orderAdapter, IPropertyMailer mailer) { this.authAdapter = authAdapter; this.orderAdapter = orderAdapter; this.mailer = mailer; }
/// <summary> /// Initializes a new instance of the <see cref="OrderController"/> class. /// </summary> /// <param name="orderAdapter">The order adapter.</param> public OrderController(IOrderAdapter orderAdapter) { this.orderAdapter = orderAdapter; }
public apiItemController(IOrderAdapter adapter) { _adapter = adapter; }
public apiItemController() { _adapter = new ItemDataAdapater(); }
public OrderService(IOrderAdapter adapter) { this.adapter = adapter; }