remove cerberos by thalos
This commit is contained in:
19
Core.Thalos.Application/UseCases/Roles/Adapter/RolePort.cs
Normal file
19
Core.Thalos.Application/UseCases/Roles/Adapter/RolePort.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Core.Thalos.Adapters;
|
||||
using Core.Thalos.Application.UseCases.Roles.Ports;
|
||||
using Lib.Architecture.BuildingBlocks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace Core.Thalos.Application.UseCases.Roles.Adapter
|
||||
{
|
||||
public class RolePort : BasePresenter, IRolePort
|
||||
{
|
||||
public void Success(RoleAdapter output)
|
||||
{
|
||||
ViewModel = new OkObjectResult(output);
|
||||
}
|
||||
public void Success(List<RoleAdapter> output)
|
||||
{
|
||||
ViewModel = new OkObjectResult(output);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user