public List <Cuenta> TraerCuentas() { this.cuentas = cuentaMapper.TraerTodos(); if (cuentas.Count > 0) { return(cuentas); } else { throw new SinCuentasException(); } }
public List <Cuenta> TraerCuentas() { this.cuentas = cuentaMapper.TraerTodos(); if (cuentas.Count > 0) { return(cuentas); } else { throw new SinCuentasException(); } }