private GameScoreTempModel GetUserGameScore(string _userName) { GameDataAccess.BLL.GameScoreTabelBLL gsBLL = new GameDataAccess.BLL.GameScoreTabelBLL(); Model.GameScoreTabel gsModel = gsBLL.GetGameScore(_userName); GameScoreTempModel scoreModel = new GameScoreTempModel() { userName = _userName, missenemy = gsModel.missenemy, score = gsModel.score }; return(scoreModel); }
private bool UpdateUserScore(string _userName, int _score, int _missed) { GameDataAccess.BLL.GameScoreTabelBLL gsBLL = new GameDataAccess.BLL.GameScoreTabelBLL(); return(gsBLL.UpdateGameScore(_userName, _score, _missed)); }