public BaseInternshipScholarshipsBLL GetByInternshipScholarshipID(int InternshipScholarshipID) { BaseInternshipScholarshipsBLL InternshipScholarshipBLL = null; InternshipScholarships InternshipScholarship = new InternshipScholarshipsDAL().GetByInternshipScholarshipID(InternshipScholarshipID); if (InternshipScholarship != null) { InternshipScholarshipBLL = MapInternshipScholarship(InternshipScholarship); } return(InternshipScholarshipBLL); }
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); }