コード例 #1
0
 public IReadOnlyList <Disco> GetList(Specification <Disco> specification, DateTime fromDate)
 {
     return(DiscosStub.GetAll()
            .Where(specification.ToExpression())
            .Where(x => x.EditionDate >= fromDate)
            .ToList());
 }
コード例 #2
0
 public Disco GetDiscoByName(string name)
 {
     return(DiscosStub.GetDiscoByName(name));
 }