File tree Expand file tree Collapse file tree
Cascading-dropdown-remote-data/filter_core/Controllers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,29 +22,7 @@ public IActionResult Index()
2222 ViewBag . DataSource = Order ;
2323
2424 return View ( ) ;
25- }
26-
27-
28- // public IActionResult StateDataSource([FromBody]ExtendedDataManager dm)
29- // {
30-
31- // var state = States.getStates();
32-
33- // var Data = state.ToList();
34- // int count = state.Count();
35-
36-
37- // List<States> iterateState= new List<States>();
38- // foreach (States st in state) {
39- // if (st.countryId == (Int64)dm.Where[0].value) {
40- // iterateState.Add(st);
41- // }
42- // }
43- // return dm.RequiresCounts ? Json(new { result = Data.Skip(dm.Skip).Take(dm.Take), count = count }) : Json(iterateState.ToList());
44- // }
45-
46-
47-
25+ }
4826
4927public IActionResult StateDataSource ( [ FromBody ] ExtendedDataManager dm )
5028{
You can’t perform that action at this time.
0 commit comments