コード例 #1
0
 public void AltaPrestamo(Prestamo pPrestamo)
 {
     try
     {
         FabricaLogica.GetLogicaPrestamo().Alta(pPrestamo);
     }
     catch (Exception ex)
     {
         this.GeneroSoapException(ex);
     }
 }
コード例 #2
0
    public List <Prestamo> ListoTodosPrestamos()
    {
        List <Prestamo> _lista = null;

        try
        {
            _lista = FabricaLogica.GetLogicaPrestamo().ListoPrestamos();
        }
        catch (Exception ex)
        {
            this.GeneroSoapException(ex);
        }

        return(_lista);
    }
コード例 #3
0
    public List <Prestamo> ListoPrestamosCliente(Cliente unCliente)
    {
        List <Prestamo> _lista = null;

        try
        {
            _lista = FabricaLogica.GetLogicaPrestamo().ListoPrestamosCliente(unCliente);
        }
        catch (Exception ex)
        {
            this.GeneroSoapException(ex);
        }

        return(_lista);
    }
コード例 #4
0
 List <Prestamo> IServicioWCF.ListoPrestamos()
 {
     return(FabricaLogica.GetLogicaPrestamo().ListoPrestamos());
 }
コード例 #5
0
 List <Prestamo> IServicioWCF.ListoPrestamosCliente(Cliente unCliente)
 {
     return(FabricaLogica.GetLogicaPrestamo().ListoPrestamosCliente(unCliente));
 }
コード例 #6
0
 void IServicioWCF.AltaPrestamo(Prestamo pPrestamo)
 {
     FabricaLogica.GetLogicaPrestamo().Alta(pPrestamo);
 }