예제 #1
0
    public List <InvetoryRecord> GetInvetory()
    {
        List <InvetoryRecord> record = new List <InvetoryRecord>();

        var invetoryrec = new InvetoryRecord {
            Color   = "Red",
            Make    = "BMW",
            PetName = "Milou"
        };

        record.Add(invetoryrec);


        return(record);
    }
예제 #2
0
 public void InsertCar(InvetoryRecord car)
 {
     Console.WriteLine("Inserting car in details");
 }