Add tenant services, change id by _id and include delete endpoint for all entities

This commit is contained in:
Sergio Matias Urquin
2025-08-07 18:27:06 -06:00
parent f3d63ca0e3
commit 296aff13fe
47 changed files with 1183 additions and 118 deletions

View File

@@ -0,0 +1,19 @@
using Core.Thalos.Application.UseCases.Tenants.Ports;
using Core.Thalos.BuildingBlocks;
using Lib.Architecture.BuildingBlocks;
using Microsoft.AspNetCore.Mvc;
namespace Core.Thalos.Application.UseCases.Tenants.Adapter
{
public class TenantPort : BasePresenter, ITenantPort
{
public void Success(TenantAdapter output)
{
ViewModel = new OkObjectResult(output);
}
public void Success(List<TenantAdapter> output)
{
ViewModel = new OkObjectResult(output);
}
}
}