Esempio n. 1
0
 public void getRetailerDetails(string phone, string clientID)
 {
     try
     {
         int storeID = GetStoreIDbyPhone(phone);
         MySQLBusinessLogic bl = new MySQLBusinessLogic();
         DataTable storeDetails = new DataTable();
         storeDetails = bl.GetStoreRetailerDetails(storeID);
         //string st = Decrypt(storeDetails.Rows[0].ItemArray[storeDetails.Columns.Count - 1].ToString());
         //storeDetails.Rows[0]["StoreMasterPassword"] = st;
         string jsonStr = ConvertDataTabletoString(storeDetails);
         Clients.Client(clientID).gotDetails(jsonStr, "1");
     }
     catch (Exception ex)
     {
         Clients.Client(clientID).gotDetails("", "0");
     }
 }