Jan 09, 2019, 12:08 PM
Adding record to Store on serverside
Hi everybody!
I need to add one record to store on button click. On click i call method from controller where i try execute such method:
I need to add one record to store on button click. On click i call method from controller where i try execute such method:
this.GetCmp<Store>("storeCoachesForAdd").Add(new { RegCoachId = 1, CoachNumber = "111", ArrivalDate = DateTime.Now });
but it doesn`t work. What is wrang?