public ArrayList getEmplanding_counts_Admin(string OwnerName, string Branchname, int?StartIndex, int?EndIndex, string strTableType, int?intLoadStatus)
        {
            EmployeeLandingCount ecount = new EmployeeLandingCount();

            ecount.Branch = Commonclass.getTableData(Branchname, "Branch");
            ecount.owner  = Commonclass.getTableData(OwnerName, "owner");
            int?inull = null;

            ecount.StartIndex    = StartIndex;
            ecount.EndIndex      = EndIndex;
            ecount.strTableType  = strTableType;
            ecount.intLoadStatus = intLoadStatus;
            ecount.intownerName  = !string.IsNullOrEmpty(OwnerName) ? Convert.ToInt32(OwnerName) : inull;
            ecount.strbranchName = Branchname;

            //if (string.IsNullOrEmpty(strTableType))
            //{
            //    return this.ICustomerpersonalupdate.Emplanding_counts_TablesDisplay(ecount);
            //}
            //else
            //{
            return(this.ICustomerpersonalupdate.Emplanding_counts_Admin(ecount));
            //}
        }
        }                                                                                                                                                                                   //usp_emplanding_counts_Admin_New

        public ArrayList Emplanding_counts_TablesDisplay(EmployeeLandingCount ecount)
        {
            return(customerdetails.Emplanding_counts_TablesDisplay(ecount, "[dbo].[usp_emp_emplanding_counts_Admin_New_AJS]"));
        }                                                                                                                                                                                                   //usp_emplanding_counts_Admin_New