Пример #1
0
    public string getTrucks(bool active)
    {
        JavaScriptSerializer j   = new JavaScriptSerializer();
        Trucks        t          = new Trucks();
        List <Trucks> trucksList = t.getTrucksList(active);

        return(j.Serialize(trucksList));
    }