private void DeleteAll(MyHttpUtility httpUtility, int orgId, int repYear) { httpUtility.ContentType = _contentTypeUrlencoded; httpUtility.AcceptEncoding = String.Empty; string queryString = "pid=" + orgId + "&ry=" + repYear + "&stat=0"; httpUtility.CreateGetRequestAndExec("http://www.gpfpmr.idknet.com/php_scr/delall.php?" + queryString); }
private int UpdateMDC(MyHttpUtility httpUtility, int orgId, int repYear, int mdc, int status) { ToLog(">Фиксация результатов. Ожидайте..."); string queryString = "pid=" + orgId + "&ry=" + repYear + "&mid=" + mdc + "&stat=" + status; httpUtility.ContentType = _contentTypeUrlencoded; httpUtility.AcceptEncoding = String.Empty; string result = httpUtility.CreateGetRequestAndExec("http://www.gpfpmr.idknet.com/php_scr/umdc.php?" + queryString); return(Convert.ToInt32(result)); }