Ejemplo n.º 1
0
    public static STATION GetSTATIONByID(int id)
    {
        STATION            sTATION            = new STATION();
        SqlSTATIONProvider sqlSTATIONProvider = new SqlSTATIONProvider();

        sTATION = sqlSTATIONProvider.GetSTATIONByID(id);
        return(sTATION);
    }
Ejemplo n.º 2
0
    public static List <STATION> GetAllSTATIONs()
    {
        List <STATION>     sTATIONs           = new List <STATION>();
        SqlSTATIONProvider sqlSTATIONProvider = new SqlSTATIONProvider();

        sTATIONs = sqlSTATIONProvider.GetAllSTATIONs();
        return(sTATIONs);
    }
Ejemplo n.º 3
0
    public static bool DeleteSTATION(int sTATIONID)
    {
        SqlSTATIONProvider sqlSTATIONProvider = new SqlSTATIONProvider();

        return(sqlSTATIONProvider.DeleteSTATION(sTATIONID));
    }
Ejemplo n.º 4
0
    public static bool UpdateSTATION(STATION sTATION)
    {
        SqlSTATIONProvider sqlSTATIONProvider = new SqlSTATIONProvider();

        return(sqlSTATIONProvider.UpdateSTATION(sTATION));
    }
Ejemplo n.º 5
0
    public static int InsertSTATION(STATION sTATION)
    {
        SqlSTATIONProvider sqlSTATIONProvider = new SqlSTATIONProvider();

        return(sqlSTATIONProvider.InsertSTATION(sTATION));
    }