16 lines
446 B
C#
16 lines
446 B
C#
using Customers.Api.Endpoints;
|
|
using FastEndpoints;
|
|
|
|
namespace Customers.Api.Summaries;
|
|
|
|
public class DeleteCustomerSummary : Summary<DeleteCustomerEndpoint>
|
|
{
|
|
public DeleteCustomerSummary()
|
|
{
|
|
Summary = "Deleted a customer the system";
|
|
Description = "Deleted a customer the system";
|
|
Response(204, "The customer was deleted successfully");
|
|
Response(404, "The customer was not found in the system");
|
|
}
|
|
}
|