Skip to content

Commit 5357988

Browse files
chore(dev): merge update-folder-structure
2 parents 6ee522e + a053f80 commit 5357988

33 files changed

+316
-32
lines changed

Controllers/OrderDetailsController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
using AutoMapper;
2-
using CoreXCrud.DTOs;
3-
using CoreXCrud.Models;
42
using CoreXCrud.Repositories;
53
using FluentValidation;
64
using Microsoft.AspNetCore.Mvc;
75
using Microsoft.AspNetCore.Authorization;
6+
using CoreXCrud.DTOs.OrderDetailDtos;
7+
using CoreXCrud.Entities;
88

99
namespace CoreXCrud.Controllers
1010
{

Controllers/OrdersController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
using AutoMapper;
2-
using CoreXCrud.DTOs;
3-
using CoreXCrud.Models;
42
using CoreXCrud.Repositories;
53
using FluentValidation;
64
using Microsoft.AspNetCore.Mvc;
75
using Microsoft.AspNetCore.Authorization;
86
using Serilog;
7+
using CoreXCrud.DTOs.OrderDtos;
8+
using CoreXCrud.Entities;
99

1010
namespace CoreXCrud.Controllers
1111
{

Controllers/ProductsController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using AutoMapper;
2-
using CoreXCrud.DTOs;
3-
using CoreXCrud.Models;
2+
using CoreXCrud.DTOs.ProductDtos;
3+
using CoreXCrud.Entities;
44
using CoreXCrud.Repositories;
55
using FluentValidation;
66
using Microsoft.AspNetCore.Authorization;

Controllers/UsersController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
using AutoMapper;
2-
using CoreXCrud.DTOs;
3-
using CoreXCrud.Models;
42
using CoreXCrud.Repositories;
53
using FluentValidation;
64
using Microsoft.AspNetCore.Mvc;
75
using Microsoft.AspNetCore.Authorization;
6+
using CoreXCrud.DTOs.UserDtos;
7+
using CoreXCrud.Entities;
88

99
namespace CoreXCrud.Controllers
1010
{

CoreXCrud.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,8 @@
2727
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.6.2" />
2828
</ItemGroup>
2929

30+
<ItemGroup>
31+
<Folder Include="Models\" />
32+
</ItemGroup>
33+
3034
</Project>

DTOs/OrderDetailDto.cs renamed to DTOs/OrderDetailDtos/OrderDetailDto.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace CoreXCrud.DTOs
1+
namespace CoreXCrud.DTOs.OrderDetailDtos
22
{
33
/// <summary>
44
/// Sipariş Detay DTO Modeli

DTOs/OrderDto.cs renamed to DTOs/OrderDtos/OrderDto.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace CoreXCrud.DTOs
1+
namespace CoreXCrud.DTOs.OrderDtos
22
{
33
/// <summary>
44
/// Sipariş DTO Modeli

DTOs/ProductDto.cs renamed to DTOs/ProductDtos/ProductDto.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace CoreXCrud.DTOs
1+
namespace CoreXCrud.DTOs.ProductDtos
22
{
33
/// <summary>
44
/// Ürün DTO Modeli

DTOs/UserDto.cs renamed to DTOs/UserDtos/UserDto.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace CoreXCrud.DTOs
1+
namespace CoreXCrud.DTOs.UserDtos
22
{
33
/// <summary>
44
/// Kullanıcı DTO Modeli

Data/AppDbContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Microsoft.EntityFrameworkCore;
2-
using CoreXCrud.Models;
2+
using CoreXCrud.Entities;
33

44
namespace CoreXCrud.Data
55
{

0 commit comments

Comments
 (0)