public void CreatePlayerSetting(PlayerSetting playersetting)
 {
     db.PlayerSettings.Add(playersetting);
     db.SaveChanges();
 }
 public void UpdatePlayerSetting(PlayerSetting playersetting)
 {
     db.Entry(playersetting).State = EntityState.Modified;
     db.SaveChanges();
 }
        public PlayerSetting GetByPlayerSettingID(int id)
        {
            PlayerSetting playersetting = db.PlayerSettings.Find(id);

            return(playersetting);
        }