|
|
@ -175,15 +175,15 @@ namespace WebApp.Controllers |
|
|
|
[SEApiSecurityFilter] |
|
|
|
public HttpResponseMessage Company([FromBody] SETB_CRM_Company Company) |
|
|
|
{ |
|
|
|
var SEToken = SETokenUtil.GetToken(this.Request); |
|
|
|
var SEToken = SETokenUtil.GetToken(this.Request); |
|
|
|
Company.Account = SEToken.Account; |
|
|
|
return new CompanyService().SaveCompany(Company); |
|
|
|
return new OnsiteService().SaveCompany(Company); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
//預約信息
|
|
|
|
[HttpPost] |
|
|
|
[SEApiSecurityFilter] |
|
|
|
[SEApiSecurityFilter] |
|
|
|
public HttpResponseMessage Booking([FromBody] BookingOrderDTO Booking) |
|
|
|
{ |
|
|
|
var SEToken = SETokenUtil.GetToken(this.Request); |
|
|
|