public static long Delete(long personID) { try { long count = 0; count = AccessDatabase.Delete(QueryRepository.Person_Delete, "@PersonID", personID); return(count); } catch (Exception ex) { throw ex; } }
public static long Delete(long genreID) { try { long count = 0; count = AccessDatabase.Delete(QueryRepository.Genre_Delete, "@GenreID", genreID); return(count); } catch (Exception ex) { throw ex; } }