Example #1
0
        /// <summary>
        /// Deletes Record from Database.
        /// </summary>
        /// <param name="objDriver">Object containing all data values.</param>
        /// <returns>boolean value True if Record is deleted successfully
        /// otherwise returns False.</returns>
        public static bool Delete(Driver objDriver)
        {
            bool recDel;

            recDel = DriverDAL.Delete(objDriver.DBID);
            return(recDel);
        }
Example #2
0
 public bool DeleteDriver(Driver item)
 {
     return(driverDAL.Delete(item));
 }