Add project files.
This commit is contained in:
8
OrdersManagement/Dtos/ModalDto.cs
Normal file
8
OrdersManagement/Dtos/ModalDto.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace OrdersManagement.Dtos
|
||||
{
|
||||
public class ModalDto(string? title, string? body)
|
||||
{
|
||||
public string? Title { get; set; } = title;
|
||||
public string? Body { get; set; } = body;
|
||||
}
|
||||
}
|
||||
16
OrdersManagement/Dtos/ResponseDto.cs
Normal file
16
OrdersManagement/Dtos/ResponseDto.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace FaKrosnoApi.Dtos
|
||||
{
|
||||
public class ResponseDto
|
||||
{
|
||||
public int Status { get; set; }
|
||||
public string Identifier { get; set; }
|
||||
public string? Message { get; set; }
|
||||
|
||||
public ResponseDto(int status, string identifier, string? message)
|
||||
{
|
||||
Status = status;
|
||||
Identifier = identifier;
|
||||
Message = message;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user