feat: Сервисы и модели RabbitMq разнесены согласно архитектуры
This commit is contained in:
14
PARR.Domain/DTOs/RabbitApi/RabbitApiResult.cs
Normal file
14
PARR.Domain/DTOs/RabbitApi/RabbitApiResult.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace PARR.Domain.DTOs.RabbitApi
|
||||
{
|
||||
/// <summary>
|
||||
/// Ответ от API RabbitMQ
|
||||
/// </summary>
|
||||
public record RabbitApiResult
|
||||
{
|
||||
public bool IsSuccess { get; init; }
|
||||
|
||||
public object? Response { get; init; }
|
||||
|
||||
public Exception? Exception { get; init; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user