/// <summary> /// Sets up the user context /// </summary> public void SetUsetContext(IServiceCallContext context) { context.Set(new UserIdContextItem("test")); }
/// <summary> /// Sets up the user context /// </summary> public void SetUsetContext(IServiceCallContext context) { context.Set(new UserIdContextItem(HttpContext.Current.User.Identity.GetUserId())); }