Skip to content

Commit 87dd3d8

Browse files
Make Sample app actual (#607)
1 parent 82aba9a commit 87dd3d8

18 files changed

Lines changed: 45 additions & 1137 deletions

net/Sample/Controllers/HomeController.cs

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

73
namespace Sample.Controllers {
84
public class HomeController : Controller {

net/Sample/Controllers/NorthwindController.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
using DevExtreme.AspNet.Data;
22

33
using Sample.Models;
4-
using System.Linq;
5-
using System.Threading.Tasks;
64

75
using Microsoft.AspNetCore.Mvc;
86
using Microsoft.EntityFrameworkCore;

net/Sample/DataSourceLoadOptions.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
using DevExtreme.AspNet.Data.Helpers;
33
using Microsoft.AspNetCore.Mvc;
44
using Microsoft.AspNetCore.Mvc.ModelBinding;
5-
using System.Linq;
6-
using System.Threading.Tasks;
75

86
namespace Sample {
97

net/Sample/Extensions.cs

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

73
namespace Sample {
84

net/Sample/Models/Category.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.ComponentModel.DataAnnotations;
1+
using System.ComponentModel.DataAnnotations;
42
using System.ComponentModel.DataAnnotations.Schema;
53

64
namespace Sample.Models {

net/Sample/Models/Customer.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.ComponentModel.DataAnnotations;
1+
using System.ComponentModel.DataAnnotations;
42
using System.ComponentModel.DataAnnotations.Schema;
53

64
namespace Sample.Models {

net/Sample/Models/NorthwindContext.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
2-
using Microsoft.EntityFrameworkCore;
3-
using Microsoft.EntityFrameworkCore.Metadata;
1+
using Microsoft.EntityFrameworkCore;
42

53
namespace Sample.Models {
64

net/Sample/Models/Order.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.ComponentModel.DataAnnotations;
1+
using System.ComponentModel.DataAnnotations;
42
using System.ComponentModel.DataAnnotations.Schema;
53

64
namespace Sample.Models {

net/Sample/Models/OrderDetail.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.ComponentModel.DataAnnotations;
4-
using System.ComponentModel.DataAnnotations.Schema;
1+
using System.ComponentModel.DataAnnotations.Schema;
52

63
namespace Sample.Models {
74

net/Sample/Models/Product.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.ComponentModel.DataAnnotations;
1+
using System.ComponentModel.DataAnnotations;
42
using System.ComponentModel.DataAnnotations.Schema;
53

64
namespace Sample.Models {

0 commit comments

Comments
 (0)