Пример #1
0
    public CustomListType POST(CustomListType myList)
    {
        CustomListType newList = new CustomListType();

        newList.myArray = new List <int>();
        foreach (var item in myList.myArray)
        {
            int newItem = Convert.ToInt32(myList.myArray[item]) + 1;
            newList.myArray.Add(newItem);
        }
        return(newList);
    }
Пример #2
0
 public bool POST(CustomListType myList)
 {
     //Do stuff here
     return(true);
 }