示例#1
0
        //public ValuesController() : base()
        //{
        //    //Mapper.CreateMap<OrderSeat, AssignSeat>();

        //    this.bus = new CommandBus(new MessageSender(null, "", ""),new  JsonTextSerializer());
        //}



        public ExpertiseController(ICommandBus bus, IFileTempDao fileTemp, IExpertiseDao _expertiseDao, IUserDao _userDao) : base()
        {
            this.bus           = bus;
            this._ExpertiseDao = _expertiseDao;
            this._FileTemp     = fileTemp;
            this._listFileTemp = new List <int>();
            this._UserDao      = _userDao;
            _storage           = new Storage.StorageClient(CustomConfiguration.Storage);
            _containerName     = CustomConfiguration.ContainerName;
        }
示例#2
0
 public UserSessionController(ICommandBus bus, IFileTempDao fileTemp, IPersonDao person, IUserDao userDao, IContractDao contractDao, IExpertiseDao expertiseDao,
                              IPersonSkinDao personSkinDao) : base()
 {
     this.bus            = bus;
     this._FileTemp      = fileTemp;
     this._listFileTemp  = new List <int>();
     this._person        = person;
     _storage            = new StorageClient(CustomConfiguration.Storage);
     _containerName      = CustomConfiguration.ContainerName;
     this._userDao       = userDao;
     this._contractDao   = contractDao;
     this._expertiseDao  = expertiseDao;
     this._PersonSkinDao = personSkinDao;
 }