コード例 #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);
     }
 }