private void CheckMonthlyOperationGridSchemaDetailsRowsAccess_MonthlyOperationGridSchema() { string[] retMessage = new string[4]; try { if (HttpContext.Current.Request.QueryString.AllKeys.Contains("PID") && HttpContext.Current.Request.QueryString.AllKeys.Contains("LoadState")) { BPersonMonthlyWorkedTime MonthlyOperationBusiness = BusinessHelper.GetBusinessInstance <BPersonMonthlyWorkedTime>(new KeyValuePair <string, object>("personId", decimal.Parse(this.StringBuilder.CreateString(HttpContext.Current.Request.QueryString["PID"])))); LoadState LS = (LoadState)Enum.Parse(typeof(LoadState), this.StringBuilder.CreateString(HttpContext.Current.Request.QueryString["LoadState"])); switch (LS) { case LoadState.Manager: break; case LoadState.Personnel: MonthlyOperationBusiness.CheckMonthlyOperationGridSchemaDetailsRowsAccess_onPersonnelState(); break; } } } catch (BaseException ex) { this.GridMasterMonthlyOperation_MasterMonthlyOperation.Levels.RemoveAt(1); } }