public int GetDownloadRev(string tag, int type) { using (UtilDataAccess utilDataAccess = new UtilDataAccess()) { try { return utilDataAccess.GetDownloadRev(tag, type); } catch (Exception ex) { Util.WriteLog(ex.ToString(), Util.EXCEPTION_LOG_TITLE); return 0; } } }