예제 #1
0
 public bool InsertWorkShop(tbl_WorkShop Wp, List <int> Ls)
 {
     //WorkShopDate should be greater than Current Date
     if (Wp.WorkShopDate > DateTime.Now)
     {
         WD.InsertWorkShop(Wp, Ls);
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #2
0
 public bool InsertWorkShop(tbl_WorkShop Wp)
 {
     //WorkShopDate should be greater than current Date
     if (Wp.WorkShopDate > DateTime.Now)
     {
         WorkShopDb WD = new WorkShopDb();
         WD.InsertWorkShop(Wp);
         return(true);
     }
     else
     {
         return(false);
     }
 }