fix(Profil): Typ von TypeId byte festgelegt
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using MediatR;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System.Threading.Tasks;
|
||||
using WorkFlow.API.Attributes;
|
||||
using WorkFlow.Application.Profiles;
|
||||
|
||||
@@ -23,11 +24,11 @@ public class ProfileController : ControllerBase
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
public IActionResult GetAsync([FromQuery] ReadProfile profileQ)
|
||||
public async Task<IActionResult> GetAsync([FromQuery] ReadProfile profileQ)
|
||||
{
|
||||
try
|
||||
{
|
||||
var profile = _mediator.Send(profileQ);
|
||||
var profile = await _mediator.Send(profileQ);
|
||||
return profile is null ? NotFound() : Ok(profile);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user