Exemple #1
0
 public List <ReadBeerBottle> GetAll()
 {
     using (Context context = new Context())
     {
         EfBeerBottleRepository rep     = new EfBeerBottleRepository(context);
         BeerBottleConvert      convert = new BeerBottleConvert(context);
         return(convert.ToReadList(rep.GetAll()));
     }
 }