private async void LoadBranchNames() { IRestDataMapper mapper = containerExtension.Resolve <IRestDataMapper>(); branches = await BranchRestService.GetAllBranchAsync(mapper); BranchNames = branches.Select(b => b.name).ToList(); }
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); }