public static Task ActualizarAsync(TipoBase tipoBase, CuentaBancaria cuentaBancaria) { ICuentaBancariaRepository cuentaBancariaRepository = new CuentaBancariaRepository(new CommonContext(tipoBase)); return(cuentaBancariaRepository.ActualizarAsync(cuentaBancaria)); }
public static Task <List <CuentaBancaria> > ObtenerAsync(TipoBase tipoBase, int?idBanco, bool?habilitado) { ICuentaBancariaRepository cuentaBancariaRepository = new CuentaBancariaRepository(new CommonContext(tipoBase)); return(cuentaBancariaRepository.ObtenerAsync(idBanco, habilitado)); }