Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 2
0
 public void DeleteAppointment(int id)
 {
     appointDAL.Delete(id);
 }