Skip to content

Commit 990edd5

Browse files
committed
Refactor folder structure for result classes.
Moved InvalidModelStateResult.cs and ServiceResult.cs to the Results folder to better organize result-related classes. This change aims to improve maintainability and clarity of the directory structure.
1 parent 482d5c5 commit 990edd5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Initium/InvalidModelStateResult.cs renamed to src/Initium/Results/InvalidModelStateResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Initium.Response;
22
using Microsoft.AspNetCore.Mvc;
33

4-
namespace Initium;
4+
namespace Initium.Results;
55

66
/// <summary>
77
/// Represents a custom result for invalid model state, returned as a JSON response with standardized API response structure.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
using System.Net;
22
using System.Text.Json.Serialization;
3-
using Microsoft.AspNetCore.Mvc;
43
using Initium.Exceptions;
54
using Initium.Infrastructure;
5+
using Microsoft.AspNetCore.Mvc;
66

7-
namespace Initium;
7+
namespace Initium.Results;
88

99
/// <summary>
1010
/// Represents a result for a service operation, indicating success or failure with an optional message and status code.

0 commit comments

Comments
 (0)