private async void LoadBranchNames()
        {
            IRestDataMapper mapper = containerExtension.Resolve <IRestDataMapper>();

            branches = await BranchRestService.GetAllBranchAsync(mapper);

            BranchNames = branches.Select(b => b.name).ToList();
        }
Beispiel #2
0
        private async void LoadAllItem()
        {
            IRestDataMapper mapper = containerExtension.Resolve <IRestDataMapper>();

            Branches = await BranchRestService.GetAllBranchAsync(mapper);

            Banks = await BankRestService.GetAllBankAsync(mapper);

            BrancheAcs = await BranchRestService.GetAllBranchAccountAsync(mapper, loggedUser.LoggedUser.branch.id);

            Measures = await ItemRestService.GetAllUnitAsync(mapper);
        }