Esempio n. 1
0
        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;
            }
        }
Esempio n. 2
0
        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;
            }
        }