jquery Programming Glossary: personsheets
Send JSON data via POST (ajax) and receive json response from Controller (MVC) http://stackoverflow.com/questions/8517071/send-json-data-via-post-ajax-and-receive-json-response-from-controller-mvc file and I used it for toJSON array method. In controller I have this Add action HttpPost public ActionResult Add PersonSheets sendInfo bool success _addSomethingInList.AddNewSomething sendInfo return this.Json new msg success But sendInfo as method.. sendInfo return this.Json new msg success But sendInfo as method parameter becomes null. The model public struct PersonSheets public int Id public string Name public string Address public string Phone public class PersonModel private List PersonSheets.. public int Id public string Name public string Address public string Phone public class PersonModel private List PersonSheets _list public PersonModel _list GetFakeData public bool AddNewSomething PersonSheets info if info as object null throw new..
|