예제 #1
0
 public List <Item> QueryItemsThatAreOthers()
 {
     using (var repo = new ItemRepository())
     {
         var app    = new ItemAppService(repo);
         var output = app.QueryItemsThatAreOthers();
         return(output.Items.Select(i => i.ConvertToItem()).ToList());
     }
 }