Beispiel #1
0
        public async Task ShowModal(CuentaDto parentCuentaDto)
        {
            Monedas = await monedasAppService.GetListAsync(new MonedaFilterDto
            {
                IsEnabled = true,
            });

            NuevaCuentaModel = new CreateCuentaViewModel
            {
                Parent = parentCuentaDto,
            };

            BuildRegExAndMaxLengthForNewAccount(parentCuentaDto.Id);
            NumeroCuentaPrefix = cuentaFormatProvider.SetFormatedPrefixAccountFromParent(parentCuentaDto.Id);
            NumeroCuentaSufix  = cuentaFormatProvider.SetFormatedSufixAccountFromParent(parentCuentaDto.Id);
            StateHasChanged();
            ModalCreateRef.Show();
        }
Beispiel #2
0
 public ModalCreateModel()
 {
     NuevaCuentaModel = new CreateCuentaViewModel();
 }