This commit is contained in:
@@ -149,20 +149,20 @@ namespace Sockeye.Api.Controllers
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// import data from rockfish that isn't already present
|
||||
/// </summary>
|
||||
/// <returns>No content</returns>
|
||||
[HttpPost("import-rockfish")]
|
||||
public async Task<IActionResult> ImportRockfish([FromBody] Customer newObject, ApiVersion apiVersion)
|
||||
{
|
||||
if (!serverState.IsOpen)
|
||||
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
||||
// /// <summary>
|
||||
// /// import data from rockfish that isn't already present
|
||||
// /// </summary>
|
||||
// /// <returns>No content</returns>
|
||||
// [HttpPost("import-rockfish")]
|
||||
// public async Task<IActionResult> ImportRockfish([FromBody] Customer newObject, ApiVersion apiVersion)
|
||||
// {
|
||||
// if (!serverState.IsOpen)
|
||||
// return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
||||
|
||||
GlobalBizSettingsBiz biz = GlobalBizSettingsBiz.GetBiz(ct, HttpContext);
|
||||
await biz.ImportRockfish(ct, log);
|
||||
return NoContent();
|
||||
}
|
||||
// GlobalBizSettingsBiz biz = GlobalBizSettingsBiz.GetBiz(ct, HttpContext);
|
||||
// await biz.ImportRockfish(log);
|
||||
// return NoContent();
|
||||
// }
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user