Exemplo n.º 1
0
 public bool Delete(Courses course)
 {
     try
     {
         CourseDAL courseDAL = new CourseDAL();
         return(courseDAL.Delete(course));
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemplo n.º 2
0
 public bool Remove(string cno)
 {
     return(miDal.Delete(cno) > 0);
 }
Exemplo n.º 3
0
 public bool DeleteEduCourse(Course item)
 {
     return(courseDAL.Delete <Course>(item));
 }
Exemplo n.º 4
0
 /// <summary>
 /// 删除
 /// </summary>
 /// <param name="Id">主键Id</param>
 /// <returns>bool值,判断是否操作成功</returns>
 public bool Delete(int Id)
 {
     return(dal.Delete(Id));
 }