|
|
|
@ -1,5 +1,8 @@ |
|
|
|
using EasyAbp.BookingService; |
|
|
|
using EasyAbp.EShop.Payments.Booking.Authorization; |
|
|
|
using EasyAbp.EShop.Plugins.Booking; |
|
|
|
using Microsoft.AspNetCore.Authorization; |
|
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
|
|
|
|
namespace EasyAbp.EShop.Payments.Booking |
|
|
|
@ -11,5 +14,9 @@ namespace EasyAbp.EShop.Payments.Booking |
|
|
|
)] |
|
|
|
public class EShopPaymentsBookingApplicationModule : AbpModule |
|
|
|
{ |
|
|
|
public override void PreConfigureServices(ServiceConfigurationContext context) |
|
|
|
{ |
|
|
|
context.Services.AddSingleton<IAuthorizationHandler, BookingPaymentCreationAuthorizationHandler>(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|