public bool validatePlayerModel(Player playerModel) { AccountContext accountContext = new AccountContext(); if (accountContext.CheckLogin(playerModel)) { return(true); } return(false); }