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; }
public GoodsBuyJobAuthorize() { this.filter = DependencyResolver.Current.GetService<Filter>(); this.goodsBuyJobService = DependencyResolver.Current.GetService<IGoodsBuyJob>(); this.JobKey = "FxTask.FxGoods.Buy.GoodsBuyJobAuthorize"; }
public GoodsBuyJobPictureProcess() { this.JobKey = "FxTask.FxGoods.Buy.GoodsBuyJobPictureProcess"; this.goodsBuyJobService = DependencyResolver.Current.GetService<IGoodsBuyJob>(); }