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); }
public bool POST(CustomListType myList) { //Do stuff here return(true); }