Esempio n. 1
0
        public BaseInternshipScholarshipsBLL GetByInternshipScholarshipID(int InternshipScholarshipID)
        {
            BaseInternshipScholarshipsBLL InternshipScholarshipBLL = null;
            InternshipScholarships        InternshipScholarship    = new InternshipScholarshipsDAL().GetByInternshipScholarshipID(InternshipScholarshipID);

            if (InternshipScholarship != null)
            {
                InternshipScholarshipBLL = MapInternshipScholarship(InternshipScholarship);
            }

            return(InternshipScholarshipBLL);
        }
Esempio n. 2
0
        public virtual List <BaseInternshipScholarshipsBLL> GetInternshipScholarships()
        {
            List <BaseInternshipScholarshipsBLL> InternshipScholarshipBLLList = new List <BaseInternshipScholarshipsBLL>();
            List <InternshipScholarships>        InternshipScholarships       = new InternshipScholarshipsDAL().GetInternshipScholarships();

            foreach (var item in InternshipScholarships)
            {
                InternshipScholarshipBLLList.Add(MapInternshipScholarship(item));
            }

            return(InternshipScholarshipBLLList);
        }