Skip to content

Commit d185168

Browse files
committed
ASP Core and small jQuery fix
1 parent be56b45 commit d185168

File tree

20 files changed

+205
-1258
lines changed

20 files changed

+205
-1258
lines changed

ASP.NET Core/ASP.NET Core.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
1919
</Exec>
2020
</Target>
21+
<ItemGroup>
22+
<Compile Remove="How-to-synchronize-two-datagrids\**" />
23+
<Content Remove="How-to-synchronize-two-datagrids\**" />
24+
<EmbeddedResource Remove="How-to-synchronize-two-datagrids\**" />
25+
<None Remove="How-to-synchronize-two-datagrids\**" />
26+
</ItemGroup>
2127

2228
<ItemGroup>
2329
<PackageReference Include="DevExtreme.AspNet.Core" Version="25.1.3" />
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
using ASP.NET_Core.Models;
2+
using DevExtreme.AspNet.Data;
3+
using DevExtreme.AspNet.Mvc;
4+
using Microsoft.AspNetCore.Mvc;
5+
6+
namespace ASP_NET_Core.Controllers;
7+
8+
[Route("api/[controller]")]
9+
public class CustomerController: Controller {
10+
[HttpGet]
11+
public object Get(DataSourceLoadOptions loadOptions) {
12+
return DataSourceLoader.Load(CustomerData.Customers, loadOptions);
13+
}
14+
}

ASP.NET Core/Controllers/HomeController.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Threading.Tasks;
51
using Microsoft.AspNetCore.Mvc;
62

73
namespace ASP_NET_Core.Controllers;

ASP.NET Core/Controllers/SampleDataController.cs

Lines changed: 0 additions & 21 deletions
This file was deleted.

ASP.NET Core/How-to-synchronize-two-datagrids/Controllers/orig_HomeController.cs

Lines changed: 0 additions & 25 deletions
This file was deleted.

ASP.NET Core/How-to-synchronize-two-datagrids/Controllers/orig_SampleDataController.cs

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)