Пример #1
0
        /* public List<MediaModel> searchmedaibyMediaID(string p)
         * {
         *   throw new NotImplementedException();
         * }*/



        public int DeleteDirector(string directorname)
        {
            int result = 0;

            try
            {
                result = mediaDAO.DeleteDirector(directorname);
            }
            catch (FormatException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw ex;
            }

            return(result);
        }