private static void ConsignarCuentaBancaria(BancoContext context) { #region Consignar ConsignarService _service = new ConsignarService(new UnitOfWork(context)); var request = new ConsignarRequest() { NumeroCuenta = "524255", Valor = 1000 }; ConsignarResponse response = _service.Ejecutar(request); System.Console.WriteLine(response.Mensaje); #endregion System.Console.ReadKey(); }
private static void Abonar(BancoContext context) { #region Consignar ConsignarService _service = new ConsignarService(new UnitOfWork(context)); var request = new ConsignarRequest() { Cedula = "524255", Valor = 1000000, Fecha = DateTime.Now }; ConsignarResponse response = _service.Ejecutar(request); System.Console.WriteLine(response.Mensaje); #endregion System.Console.ReadKey(); }