public void SetTurboDetails(TurboTrainer turbo) { string userId = Context.User.Identity.Name; turbo.Save(userId); }
public void SetRiderEquipment(UserRider rider, TurboTrainer turbo) { string userId = Context.User.Identity.Name; rider.SaveEquipment(userId); if (turbo != null) { turbo.Save(userId); } // This may have changed the configuration - kill the existing processor CycliManager.Instance.Kill(userId); }