Skip to content

Commit b052b0c

Browse files
committed
2 parents e01514c + fe6dc98 commit b052b0c

1 file changed

Lines changed: 1 addition & 23 deletions

File tree

Cascading-dropdown-remote-data/filter_core/Controllers/HomeController.cs

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff 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

4927
public IActionResult StateDataSource([FromBody] ExtendedDataManager dm)
5028
{

0 commit comments

Comments
 (0)