/// <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); }
public bool DeleteDriver(Driver item) { return(driverDAL.Delete(item)); }