Encrypting the response for Purchase invoice controller
This commit is contained in:
parent
35c92183a5
commit
bb102ce188
@ -4,13 +4,16 @@ using Marco.Pms.Model.Dtos.PurchaseInvoice;
|
|||||||
using Marco.Pms.Model.Utilities;
|
using Marco.Pms.Model.Utilities;
|
||||||
using Marco.Pms.Services.Service.ServiceInterfaces;
|
using Marco.Pms.Services.Service.ServiceInterfaces;
|
||||||
using MarcoBMS.Services.Helpers;
|
using MarcoBMS.Services.Helpers;
|
||||||
|
using Microsoft.AspNetCore.Authorization;
|
||||||
using Microsoft.AspNetCore.JsonPatch;
|
using Microsoft.AspNetCore.JsonPatch;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
|
||||||
namespace Marco.Pms.Services.Controllers
|
namespace Marco.Pms.Services.Controllers
|
||||||
{
|
{
|
||||||
[Route("api/[controller]")]
|
[Authorize]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
|
[EncryptResponse]
|
||||||
|
[Route("api/[controller]")]
|
||||||
public class PurchaseInvoiceController : ControllerBase
|
public class PurchaseInvoiceController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly UserHelper _userHelper;
|
private readonly UserHelper _userHelper;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user