|
|
@ -1,10 +1,13 @@ |
|
|
|
using BBWYB.Server.Business; |
|
|
|
using BBWYB.Server.Model.Db; |
|
|
|
using BBWYB.Server.Model.Dto; |
|
|
|
using Microsoft.AspNetCore.Authentication.JwtBearer; |
|
|
|
using Microsoft.AspNetCore.Authorization; |
|
|
|
using Microsoft.AspNetCore.Mvc; |
|
|
|
|
|
|
|
namespace BBWYB.Server.API.Controllers |
|
|
|
{ |
|
|
|
[Authorize(AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme)] |
|
|
|
public class PurchaserController : BaseApiController |
|
|
|
{ |
|
|
|
private PurchaserBusiness purchaserBusiness; |
|
|
|