Exemplo n.º 1
0
 public List <Example> GetListExampleByFilter(ExampleFilter exampleFilter)
 {
     if (!string.IsNullOrEmpty(exampleFilter.value))
     {
         return(this.lstExample.FindAll(p => p.value.Contains(exampleFilter.value)).OrderBy(p => p.id).ToList());
     }
     else
     {
         return(this.lstExample.OrderBy(p => p.id).ToList());
     }
 }
Exemplo n.º 2
0
 public ExampleResult GetExampleByFilter(ExampleFilter filter)
 {
     throw new NotImplementedException();
 }