public CuentaAhorroModel Add(CuentaAhorroModel c) { try { var cuenta = GetCuenta(); c.NumeroCuenta = cuenta; return(_cuentaAhorroRepository.Add(c)); } catch (System.Exception e) { _logger.LogError(e.ToString()); throw; } }