Пример #1
0
 public void TestItemDetails()
 {
     try
     {
         TeaShopRepo shopRepo = new TeaShopRepo();
         TeaShopVM   itemLst  = shopRepo.GetDetailsById(35);
     }
     catch (Exception e)
     {
     }
 }
Пример #2
0
 public void DeleteDetails()
 {
     try
     {
         TeaShopRepo shopRepo = new TeaShopRepo();
         shopRepo.DeleteDetails(35);
     }
     catch (Exception e)
     {
     }
 }
Пример #3
0
 public void TestDetails()
 {
     try
     {
         TeaShopRepo shopRepo = new TeaShopRepo();
         //int[] arr = { 1, 2, 3, 4, 5 };
         IEnumerable <TeaShopVM> itemLst = shopRepo.GetDetails();
         itemLst = itemLst.Take(1);
     }catch (Exception e)
     {
     }
 }