Exemplo n.º 1
0
    public static ArbitroPartido InsertarArbitro(string idPartido, string idArbitro)
    {
        ArbitroPartido objArbitroPartido =
            ArbitroPartidoBLL.InsertWithReturn(idPartido, idArbitro);

        return(objArbitroPartido);
    }
Exemplo n.º 2
0
    public static List <ArbitroPartido> ListArbitros(string idPartido)
    {
        List <ArbitroPartido> objarbitroPartido =
            ArbitroPartidoBLL.SelectByPartido(idPartido);

        return(objarbitroPartido);
    }
Exemplo n.º 3
0
 public static int EliminarArbitro(string idArbitro)
 {
     try
     {
         ArbitroPartidoBLL.Delete(idArbitro);
         return(Convert.ToInt32(idArbitro));
     }
     catch (Exception)
     {
         return(-1);
     }
 }