Skip to content

Commit 99e6e63

Browse files
stylecop issues
1 parent e00518a commit 99e6e63

File tree

2 files changed

+24
-13
lines changed

2 files changed

+24
-13
lines changed
Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,41 @@
11
using Newtonsoft.Json;
22
using NorthwindCRUD.Models.Dtos;
33

4-
namespace NorthwindCRUD.Models
4+
namespace NorthwindCRUD.Models.Results
55
{
66
public class QueryBuilderResult
77
{
8-
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public AddressDto[]? Addresses { get; set; }
8+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
9+
public AddressDto[]? Addresses { get; set; }
910

10-
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public CategoryDto[]? Categories { get; set; }
11+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
12+
public CategoryDto[]? Categories { get; set; }
1113

12-
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public ProductDto[]? Products { get; set; }
14+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
15+
public ProductDto[]? Products { get; set; }
1316

14-
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]public RegionDto[]? Regions { get; set; }
17+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
18+
public RegionDto[]? Regions { get; set; }
1519

16-
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public TerritoryDto[]? Territories { get; set; }
20+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
21+
public TerritoryDto[]? Territories { get; set; }
1722

18-
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public EmployeeDto[]? Employees { get; set; }
23+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
24+
public EmployeeDto[]? Employees { get; set; }
1925

20-
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public CustomerDto[]? Customers { get; set; }
26+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
27+
public CustomerDto[]? Customers { get; set; }
2128

22-
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public OrderDto[]? Orders { get; set; }
29+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
30+
public OrderDto[]? Orders { get; set; }
2331

24-
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public OrderDetailDto[]? OrderDetails { get; set; }
32+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
33+
public OrderDetailDto[]? OrderDetails { get; set; }
2534

26-
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public ShipperDto[]? Shippers { get; set; }
35+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
36+
public ShipperDto[]? Shippers { get; set; }
2737

28-
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public SupplierDto[]? Suppliers { get; set; }
38+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
39+
public SupplierDto[]? Suppliers { get; set; }
2940
}
3041
}

NorthwindCRUD/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
using NorthwindCRUD.Filters;
1313
using NorthwindCRUD.Helpers;
1414
using NorthwindCRUD.Middlewares;
15-
using NorthwindCRUD.Models;
15+
using NorthwindCRUD.Models.Results;
1616
using NorthwindCRUD.Providers;
1717
using NorthwindCRUD.Services;
1818

0 commit comments

Comments
 (0)