예제 #1
0
 public bool UpdateWorkShopById(tbl_WorkShop Wp, int WorkShopId)
 {
     //if (Wp.WorkShopDate > DateTime.Now)
     //{
     WD.UpdateWorkShopById(Wp, WorkShopId);
     return(true);
     //}
     //else
     //{
     //    return false;
     //}
 }
예제 #2
0
        public bool UpdateWorkShopById(tbl_WorkShop Wp, int WorkShopId)
        {
            WorkShopDb WD = new WorkShopDb();

            if (Wp.WorkShopDate > DateTime.Now)
            {
                WD.UpdateWorkShopById(Wp, WorkShopId);
                return(true);
            }
            else
            {
                return(false);
            }
        }