refactor: rename Api project to Web
- HrynCo.NotificationService.Api -> HrynCo.NotificationService.Web - HrynCo.NotificationService.Api.IntegrationTests -> HrynCo.NotificationService.Web.IntegrationTests - Updated slnx, docker-compose, project references, and namespaces - Project serves both REST API and admin UI Ref: IT-628 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
namespace HrynCo.NotificationService.Web.Infrastructure;
|
||||
|
||||
public sealed class ApiResponse<T>
|
||||
{
|
||||
public T? Data { get; init; } = default;
|
||||
public ApiError? Error { get; init; }
|
||||
public bool Success { get; init; }
|
||||
}
|
||||
|
||||
public sealed class ApiError
|
||||
{
|
||||
public required string Code { get; init; }
|
||||
public required string Message { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user