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 GoodsTransferJobAuthorize()
 {
     this.filter = DependencyResolver.Current.GetService<Filter>();
     this.goodsTransferJobService = DependencyResolver.Current.GetService<IGoodsTransferJob>();
     this.JobKey = "FxTask.FxGoods.Transfer.GoodsTransferJobAuthorize";
 }
 public GoodsTransferJobPictureProcess()
 {
     this.JobKey = "FxTask.FxGoods.Transfer.GoodsTransferJobPictureProcess";
     this.goodsTransferJobService = DependencyResolver.Current.GetService<IGoodsTransferJob>();
 }