27 lines
533 B
C#
27 lines
533 B
C#
using MediatR;
|
|
using Store.Users.Commands;
|
|
using Store.Users.Contracts.Dtos;
|
|
using MAX.Core.DependencyInjection;
|
|
using MAX.Core.Interfaces;
|
|
|
|
namespace Store.Users
|
|
{
|
|
public class Startup : IStartup
|
|
{
|
|
public int Priority => IntPriority.Normal;
|
|
|
|
public void Initialize()
|
|
{
|
|
}
|
|
|
|
public void Register(IServiceRegistrar registrar)
|
|
{
|
|
registrar.RegisterTransient<IRequestHandler<ShopRenewCommand, ShopRenewResponse>, ShopRenewCommandHandler>();
|
|
}
|
|
|
|
public void Start(IServiceProvider serviceProvider)
|
|
{
|
|
}
|
|
}
|
|
}
|