예제 #1
0
        protected void FillCollectorsList(CollectorDTO defaultCollector)
        {
            Collectors.SetItems(AppArgs.MarketState.Collectors.GetAll());

            if (defaultCollector != null)
            {
                CurrentCollector = Collectors.SingleOrDefault(_ => _.Id == defaultCollector.Id);
            }

            ShowCollectors = true;
        }
예제 #2
0
 public OtherColxnCrudVM(IOtherColxnsRepo repository, ITenantDBsDir appArguments) : base(repository, appArguments)
 {
     Collectors.SetItems(AppArgs.MarketState.Collectors?.GetAll());
     GLAccounts.SetItems(AppArgs.MarketState.GLAccounts?.GetAll());
 }