Add project files.
This commit is contained in:
33
Core.Cerberos.Application/UseCases/Users/Adapter/UserPort.cs
Normal file
33
Core.Cerberos.Application/UseCases/Users/Adapter/UserPort.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using Core.Blueprint.Storage.Adapters;
|
||||
using Core.Cerberos.Adapters;
|
||||
using Core.Cerberos.Application.UseCases.Users.Ports;
|
||||
using Lib.Architecture.BuildingBlocks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace Core.Cerberos.Application.UseCases.Users.Adapter
|
||||
{
|
||||
public class UserPort : BasePresenter, IUserPort
|
||||
{
|
||||
public void Success(UserAdapter output)
|
||||
{
|
||||
ViewModel = new OkObjectResult(output);
|
||||
}
|
||||
public void Success(List<UserAdapter> output)
|
||||
{
|
||||
ViewModel = new OkObjectResult(output);
|
||||
}
|
||||
|
||||
public void Success(UserExistenceAdapter output)
|
||||
{
|
||||
ViewModel = new OkObjectResult(output);
|
||||
}
|
||||
public void Success(TokenAdapter output)
|
||||
{
|
||||
ViewModel = new OkObjectResult(output);
|
||||
}
|
||||
public void Success(BlobDownloadUriAdapter output)
|
||||
{
|
||||
ViewModel = new OkObjectResult(output);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user