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); } }
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); } }