public void checkFirstTimeLogin(string phone, string clinetID) { try { MySQLBusinessLogic bl = new MySQLBusinessLogic(); int storeID = GetStoreIDbyPhone(phone); if (bl.RetailerLoginCount(storeID) == 1) Clients.Client(clinetID).isfirstTime("1"); } catch (Exception ex) { } }