You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
707 B
26 lines
707 B
using BBWY.Server.Business;
|
|
using BBWY.Server.Model.Db;
|
|
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace BBWY.Server.API.Controllers
|
|
{
|
|
public class TestController : BaseApiController
|
|
{
|
|
private IFreeSql fsql;
|
|
private TestBusiness testBusiness;
|
|
public TestController(IHttpContextAccessor httpContextAccessor, IFreeSql fsql, TestBusiness testBusiness) : base(httpContextAccessor)
|
|
{
|
|
this.fsql = fsql;
|
|
this.testBusiness = testBusiness;
|
|
}
|
|
|
|
[HttpPost]
|
|
public void SyncVenderId()
|
|
{
|
|
testBusiness.SyncVenderId();
|
|
}
|
|
}
|
|
}
|
|
|