/// <summary> /// The find employee by title. /// </summary> /// <param name="totalcount"> /// The totalcount. /// </param> /// <param name="title"> /// The title. /// </param> /// <param name="pageIndex"> /// The page index. /// </param> /// <param name="pageSize"> /// The page size. /// </param> /// <returns> /// </returns> public PagedListOfEmployeegSBaJWHs FindEmployeeByTitle( out int totalcount, string title, int?pageIndex, int pageSize) { var list = new PagedListOfEmployeegSBaJWHs(); list.AddRange(employeeList); totalcount = list.Count(); return(list); }
/// <summary> /// The find employee by title. /// </summary> /// <param name="totalcount"> /// The totalcount. /// </param> /// <param name="title"> /// The title. /// </param> /// <param name="pageIndex"> /// The page index. /// </param> /// <param name="pageSize"> /// The page size. /// </param> /// <returns> /// </returns> public PagedListOfEmployeegSBaJWHs FindEmployeeByTitle( out int totalcount, string title, int? pageIndex, int pageSize) { var list = new PagedListOfEmployeegSBaJWHs(); list.AddRange(employeeList); totalcount = list.Count(); return list; }