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 CarTransferJobPictureProcess() { this.JobKey = "FxTask.FxCar.Transfer.CarTransferJobPictureProcess"; this.carTransferJobService = DependencyResolver.Current.GetService<ICarTransferJob>(); }
public CarTransferJobAuthorize() { this.filter = DependencyResolver.Current.GetService<Filter>(); this.carTransferJobService = DependencyResolver.Current.GetService<ICarTransferJob>(); JobKey = "FxTask.FxCar.Transfer.CarTransferJobAuthorize "; }