Skip to content

Instantly share code, notes, and snippets.

@DataSolveProblems
Created September 13, 2019 01:24
Show Gist options
  • Save DataSolveProblems/20a4fbf9aa4dbdf3285a12e5702ae14b to your computer and use it in GitHub Desktop.
Save DataSolveProblems/20a4fbf9aa4dbdf3285a12e5702ae14b to your computer and use it in GitHub Desktop.
public class NewCaseListController {
public List<Case> getNewCases(){
List<Case> cases = [select id, CaseNumber from Case where status='New'];
return cases;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment