commands reaoranized
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
using AipsCore.Application.Abstract.Command;
|
using AipsCore.Application.Abstract.Command;
|
||||||
using AipsCore.Domain.Models.User.ValueObjects;
|
using AipsCore.Domain.Models.User.ValueObjects;
|
||||||
|
|
||||||
namespace AipsCore.Application.Models.User.Command;
|
namespace AipsCore.Application.Models.User.Command.CreateUser;
|
||||||
|
|
||||||
public record CreateUserCommand(string Username, string Email) : ICommand<UserId>, ICommand;
|
public record CreateUserCommand(string Username, string Email) : ICommand<UserId>, ICommand;
|
||||||
@@ -1,9 +1,7 @@
|
|||||||
using AipsCore.Application.Abstract.Command;
|
using AipsCore.Application.Abstract.Command;
|
||||||
using AipsCore.Domain.Common.ValueObjects;
|
|
||||||
using AipsCore.Domain.Models.User.External;
|
using AipsCore.Domain.Models.User.External;
|
||||||
using AipsCore.Domain.Models.User.ValueObjects;
|
|
||||||
|
|
||||||
namespace AipsCore.Application.Models.User.Command.Handler;
|
namespace AipsCore.Application.Models.User.Command.CreateUser;
|
||||||
|
|
||||||
public class CreateUserCommandHandler : ICommandHandler<CreateUserCommand>
|
public class CreateUserCommandHandler : ICommandHandler<CreateUserCommand>
|
||||||
{
|
{
|
||||||
Reference in New Issue
Block a user