namespace fix

This commit is contained in:
2026-02-14 00:45:35 +01:00
parent 8ea09e6796
commit 2ea7060eef
5 changed files with 18 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
using AipsCore.Application.Abstract;
using AipsCore.Application.Abstract.MessageBroking;
using AipsCore.Application.Common.Authentication;
using AipsCore.Application.Models.User.Command.LogIn;
using AipsCore.Application.Models.User.Command.SignUp;
@@ -34,4 +35,11 @@ public class UserController : ControllerBase
var result = await _dispatcher.Execute(command, cancellationToken);
return Ok(result.Value);
}
[AllowAnonymous]
[HttpPost("test")]
public async Task Test(IMessagePublisher publisher)
{
await publisher.PublishAsync("test", "test.test", "Test poruka");
}
}