Пример #1
0
        ///// <summary>
        ///// User disable
        ///// </summary>
        //public string UpdateUserStatus(FormCollection collection)
        //{
        //    string result = "";
        //    try
        //    {
        //        // TODO: Add insert logic here
        //        result = _objSPData.UpdateUserStatus(_objcurrentInfo.GetCompanyCode(), collection["UserCode"].ToString());
        //        return result;
        //    }
        //    catch (Exception ex)
        //    {
        //        ErrorLog.LogError(ex, "UpdateUserStatus()");
        //        return "";
        //    }
        //}

        /// <summary>
        /// Move region mode up
        /// </summary>
        public string RegionNodeUp(FormCollection collection)
        {
            string result = "";

            try
            {
                // TODO: Add insert logic here
                result = _objSPData.RegionNodeUp(_objcurrentInfo.GetCompanyCode(), collection["RegionCode"].ToString(), _objcurrentInfo.GetUserName());
                return(result);
            }
            catch (Exception ex)
            {
                ErrorLog.LogError(ex, "RegionNodeUp()");
                return("");
            }
        }