public int GetAllAssetDetailCount(string CatrgoryID, string RFTags) { int count = 0; try { CycleCount objCycleCount = new CycleCount(); objCycleCount.RFTags = RFTags; objCycleCount.CatID = CatrgoryID; count = objCycleCount.GetAllAssetDetailCount(); } catch (Exception ex) { _log.Error("Error:GetAllAssetDetailCount:: " + ex.Message + Environment.NewLine + ex.StackTrace); ThrowFaultError(ex.Message, 200); } return count; }