public async Task <NoContentResult> ReactivateProduct(string id, [FromQuery] Guid?trackingGuid = null) { _context.Security = new K2SO.Auth.Security(HttpContext.Request.Headers["Authorization"]); trackingGuid = IG2000.Data.Utilities.Logging.CreateLogTrackingHeader(trackingGuid, _context); long longId = Utilities.RestErrorHandler.CheckId(id, _context, (Guid)trackingGuid); await _productModel.DeleteOrReactivate(longId, true, (Guid)trackingGuid); return(NoContent()); }