public List<Cases> LoadCases(Pagination pagination, CaseType caseType)
 {
     var cases = CasesData.LoadCases(pagination, caseType);
     LoadCaseItems(cases);
     if (cases != null && cases.Count > 0)
     {
         var items = new List<CaseItem>();
         cases.ForEach(c => { if (c.CaseItems != null)items.AddRange(c.CaseItems); });
         LoadCaseItemAttachment(items);
     }
     return cases ?? new List<Cases>(0);
 }
 public List<Cases> LoadSimpleCases(Pagination pagination, CaseType caseType)
 {
     var cases = CasesData.LoadCases(pagination, caseType);
     return cases ?? new List<Cases>(0);
 }