Exemplo n.º 1
0
        public List <Student> DisplayStudentBL()
        {
            StudentDAL studentOperations = new StudentDAL();

            try
            {
                sList = studentOperations.DisplayStudentDAL();
                if (sList.Count <= 0)
                {
                    throw new StudentException("No Records Found!!!");
                }
            }
            catch (StudentException e)
            {
                throw e;
            }

            return(sList);
        }