Browse Source

Add authorize attribute to PaymentRequestAdminAppService.cs

pull/69/head
Engincan VESKE 5 years ago
parent
commit
c9d1f15cf1
  1. 3
      modules/payment/src/Payment.Admin.Application/Payments/PaymentRequestAdminAppService.cs

3
modules/payment/src/Payment.Admin.Application/Payments/PaymentRequestAdminAppService.cs

@ -1,11 +1,14 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Payment.Admin.Permissions;
using Payment.PaymentRequests; using Payment.PaymentRequests;
using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services; using Volo.Abp.Application.Services;
namespace Payment.Admin.Payments namespace Payment.Admin.Payments
{ {
[Authorize(PaymentAdminPermissions.Request.Default)]
public class PaymentRequestAdminAppService : ApplicationService, IPaymentRequestAdminAppService public class PaymentRequestAdminAppService : ApplicationService, IPaymentRequestAdminAppService
{ {
protected IPaymentRequestRepository PaymentRequestRepository { get; } protected IPaymentRequestRepository PaymentRequestRepository { get; }

Loading…
Cancel
Save