Пример #1
0
        public StoreInPlan(SessionInfo _session = null, StoreInPlanHead model = null)
        {
            InitializeComponent();
            this._repo = new StoreInPlanRepo();
            this._repoIn = new StoreInRepo();
            this._repoCurr = new CurrenciesRepo();
            this._repoSupplier = new SupplierRepo();
            this._repoBT = new BussinessTypeRepo();
            this._repoMaker = new MakerRepo();
            this._repoMill = new MillRepo();
            this._repoCmdt = new Commodity();
            this._repoSpec = new SpecRepo();
            this._repoCoating = new CoatingRepo();
            this._repoWhse = new WharehouseRepo();
            this._repoPort = new ImportPortRepo();
            this._repoCust = new CustomerRepo();
            this._repoLookup = new LookupRepo();
            this.SourceStr = "";
            epiSession = _session;

            if (model == null || epiSession == null)
            {
                this.HeadContent = new StoreInPlanHead();
                this.IMEXReviewFlag = false;
            }
            else
            {
                this.HeadContent = model;                
                this.IMEXReviewFlag = true;
            }
            this.ModelClone = new StoreInPlanHead();
            this.POTrans = new POLineModel();
        }
Пример #2
0
 public StoreInPlanRepo()
 {
     this._repoCurr = new CurrenciesRepo();
     this._repoPort = new ImportPortRepo();
 }
 public TranasctionsProcessor(ICurrenciesRepo repo)
 {
     _repo = repo;
 }
Пример #4
0
 public CurrenciesService(ICurrenciesRepo currenciesRepo)
 {
     _currenciesRepo = currenciesRepo;
 }
Пример #5
0
 public TransactionsController(ICurrenciesRepo repo)
 {
     this._repo = repo;
 }