Exemplo n.º 1
0
 public List<Employee> Search(EmployeeSearchCriteria criteria)
 {
     var searchResults = Playground.DataAccess.ADOdotNET.EmployeeSearch.Search(
         criteria.FirstName,
         criteria.LastName,
         criteria.Organization,
         criteria.JobTitle,
         criteria.Address,
         criteria.City,
         criteria.State,
         criteria.ZipCode,
         criteria.MaximumRecords,
         criteria.SortByColumn,
         criteria.SortAscending,
         criteria.GroupByColumn,
         criteria.GroupBySortAscending,
         criteria.RecordsPerPage,
         criteria.PageNumber
     );
     return searchResults;
 }
Exemplo n.º 2
0
 public EmployeeSearchModel()
 {
     ValidationMessages = new List<String>();
     Criteria = new EmployeeSearchCriteria();
 }