/// <summary> /// 默认构造函数 /// </summary> /// <param name="houseService">站点下房屋基础信息接口</param> /// <param name="buyService">房屋求购保存读取接口</param> /// <param name="accountService">帐号服务接口</param> public HouseBuyController(IHouse houseService, IBuyHouse buyService, IAccountService accountService) { this.houseService = houseService; this.buyService = buyService; this.accountService = accountService; }
public TopShowService(IBuyCar buyCarService, ITransferCar transferCarService, IBuyHouse buyHouseService, ITransferHouse transferHouseService, IBuyGoods buyGoodsService, ITransferGoods transferGoodsService) { this.buyCarService = buyCarService; this.buyGoodsService = buyGoodsService; this.buyHouseService = buyHouseService; this.transferCarService = transferCarService; this.transferGoodsService = transferGoodsService; this.transferHouseService = transferHouseService; }
/// <summary> /// 默认构造函数 /// </summary> /// <param name="buyCarService">车辆求购保存读取接口</param> /// <param name="transferCarService">车辆转让保存读取接口</param> /// <param name="buyHouseService">房屋求购保存读取接口</param> /// <param name="transferHouseService">房屋转让保存读取接口</param> /// <param name="buyGoodsService">物品求购保存读取接口</param> /// <param name="transferGoodsService">物品转让保存读取接口</param> public TopShowService(IBuyCar buyCarService, ITransferCar transferCarService, IBuyHouse buyHouseService, ITransferHouse transferHouseService, IBuyGoods buyGoodsService, ITransferGoods transferGoodsService) { this.buyCarService = buyCarService; this.buyGoodsService = buyGoodsService; this.buyHouseService = buyHouseService; this.transferCarService = transferCarService; this.transferGoodsService = transferGoodsService; this.transferHouseService = transferHouseService; }
public AdminController(GlobalCache gloablCache, ICarUserCenter carUserCenter, IGoodsUserCenter goodsUserCenter, IHouseUserCenter houseUserCenter, ITopShow topShow, IBuyGoods buyGoods, ITransferGoods transferGoods, IBuyCar buyCar, ITransferCar transferCar, IBuyHouse buyHouse, ITransferHouse transferHouse, ICarBuyJob carBuyJob, ICarTransferJob carTransferJob, IHouseBuyJob houseBuyJob, IHouseTransferJob houseTransferJob, IGoodsBuyJob goodsBuyJob, IGoodsTransferJob goodsTransferJob) { #if DEBUG #else if (User == null || User.Identity == null || User.Identity.Name == null || !User.Identity.Name.Equals("*****@*****.**")) { RedirectPermanent("http://yingtao.co.uk/Home/Index"); } #endif this.gloablCache = gloablCache; this.carUserCenter = carUserCenter; this.houseUserCenter = houseUserCenter; this.goodsUserCenter = goodsUserCenter; this.topShow = topShow; this.buyGoods = buyGoods; this.transferGoods = transferGoods; this.buyCar = buyCar; this.transferCar = transferCar; this.buyHouse = buyHouse; this.transferHouse = transferHouse; this.carBuyJob = carBuyJob; this.carTransferJob = carTransferJob; this.houseBuyJob = houseBuyJob; this.houseTransferJob = houseTransferJob; this.goodsBuyJob = goodsBuyJob; this.goodsTransferJob = goodsTransferJob; }
/// <summary> /// 默认构造函数 /// </summary> /// <param name="buyHouse">房屋求购保存读取接口</param> /// <param name="favorite">收藏接口</param> public HouseBuyDetailController(IBuyHouse buyHouse, IFavorite favorite) { this.buyHouse = buyHouse; this.favorite = favorite; }
public HouseBuyDetailController(IBuyHouse buyHouse, IFavorite favorite) { this.buyHouse = buyHouse; this.favorite = favorite; }