private void OnUserLogin(UserLogicModel user, SiteLoginRequest data) { mySiteClientManager.SendLoginResponse(user); }
private void OnUserLogin(UserLogicModel user, SiteLoginRequest data) { myDataManager.SiteData.User_GetFirstByUsernamePassword(user.UserName, user.Password, (users) => { mySiteClientManager.SendLoginResponse(user, users.Count != 0); }); }