Skip to content

Commit 3fbbb45

Browse files
Update to 25.1.3+
1 parent 1076aad commit 3fbbb45

26 files changed

+2367
-38
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Threading.Tasks;
5+
using Microsoft.AspNetCore.Mvc;
6+
7+
namespace How_to_synchronize_two_datagrids.Controllers
8+
{
9+
public class HomeController : Controller
10+
{
11+
public IActionResult Index()
12+
{
13+
return View();
14+
}
15+
16+
public IActionResult About() {
17+
return View();
18+
}
19+
20+
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
21+
public IActionResult Error() {
22+
return View();
23+
}
24+
}
25+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Net;
5+
using System.Net.Http;
6+
using How_to_synchronize_two_datagrids.Models;
7+
using DevExtreme.AspNet.Data;
8+
using DevExtreme.AspNet.Mvc;
9+
using Microsoft.AspNetCore.Mvc;
10+
11+
namespace How_to_synchronize_two_datagrids.Controllers {
12+
13+
[Route("api/[controller]")]
14+
public class SampleDataController : Controller {
15+
16+
[HttpGet]
17+
public object Get(DataSourceLoadOptions loadOptions) {
18+
return DataSourceLoader.Load(SampleData.Orders, loadOptions);
19+
}
20+
21+
}
22+
}

0 commit comments

Comments
 (0)