/// <summary> /// Deletes Record from Database. /// </summary> /// <param name="objDept">Object containing all data values.</param> /// <returns>boolean value True if Record is deleted successfully /// otherwise returns False.</returns> public static bool Delete(Appointment objAppoint) { bool recDel; recDel = AppointmentDAL.Delete(objAppoint.DBID); return(recDel); }
public void DeleteAppointment(int id) { appointDAL.Delete(id); }