Beispiel #1
0
 public bool DeleteStorePro(int systemId, string companyId, string storeId)
 {
     try
     {
         int    errCode = -1;
         string errMsg  = "fail";
         var    result  = CTMSContext.SP_Delete_Institution_Store(systemId, companyId, storeId, out errCode, out errMsg);
         if (errCode != 0)
         {
             throw new Exception(errMsg);
         }
         return(errCode == 0 ? true : false);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }