Add tenant services, change id by _id and include delete endpoint for all entities
This commit is contained in:
		| @@ -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); | ||||
|         } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Sergio Matias Urquin
					Sergio Matias Urquin