Esempio n. 1
0
        // Done
        public bool UpdateScholarship(ref Scholarship scholarship, ref string message)
        {
            ScholarshipBDO sBDO = new ScholarshipBDO();

            TranslateScholarshipToScholarshipBDO(scholarship, sBDO);
            return(sLogic.UpdateScholarship(ref sBDO, ref message));
        }
Esempio n. 2
0
        public bool CreateScholarship(ref Scholarship scholarship, ref string message)
        {
            ScholarshipBDO sbdo = new ScholarshipBDO();

            TranslateScholarshipToScholarshipBDO(scholarship, sbdo);
            return(sLogic.CreateScholarship(ref sbdo, ref message));
        }
Esempio n. 3
0
 public void TranslateScholarshipToScholarshipBDO(Scholarship s, ScholarshipBDO sBDO)
 {
     sBDO.ScholarshipCode = s.ScholarshipCode;
     sBDO.Condition       = s.Condition;
     sBDO.Deactivated     = s.Deactivated;
     sBDO.Description     = s.Description;
     sBDO.Privilege       = s.Privilege;
 }
Esempio n. 4
0
 private void TranslateScholarshipToScholarshipBDO(Scholarship sc, ScholarshipBDO sbdo)
 {
     sbdo.Condition       = sc.Condition;
     sbdo.Deactivated     = sc.Deactivated;
     sbdo.Description     = sc.Description;
     sbdo.Privilege       = sc.Privilege;
     sbdo.ScholarshipCode = sc.ScholarshipCode;
 }
Esempio n. 5
0
 // Done
 public List<Scholarship> GetAllScholarships()
 {
     List<Scholarship> slist = new List<Scholarship>();
     foreach (ScholarshipBDO sbdo in sLogic.GetAllScholarships())
     {
         Scholarship s = new Scholarship();
         TranslateScholarshipBDOToScholarship(sbdo, s);
         slist.Add(s);
     }
     return slist;
 }
Esempio n. 6
0
        // Done
        public List <Scholarship> GetAllScholarships()
        {
            List <Scholarship> slist = new List <Scholarship>();

            foreach (ScholarshipBDO sbdo in sLogic.GetAllScholarships())
            {
                Scholarship s = new Scholarship();
                TranslateScholarshipBDOToScholarship(sbdo, s);
                slist.Add(s);
            }
            return(slist);
        }
Esempio n. 7
0
 public void TranslateScholarshipToScholarshipBDO(Scholarship s, ScholarshipBDO sBDO) {
     sBDO.ScholarshipCode = s.ScholarshipCode;
     sBDO.Condition = s.Condition;
     sBDO.Deactivated = s.Deactivated;
     sBDO.Description = s.Description;
     sBDO.Privilege = s.Privilege;
 }
Esempio n. 8
0
 private void TranslateScholarshipBDOToScholarship(ScholarshipBDO sc, Scholarship sbdo)
 {
     sbdo.Condition = sc.Condition;
     sbdo.Deactivated = sc.Deactivated;
     sbdo.Description = sc.Description;
     sbdo.Privilege = sc.Privilege;
     sbdo.ScholarshipCode = sc.ScholarshipCode;
 }
Esempio n. 9
0
 // Done
 public bool UpdateScholarship(ref Scholarship scholarship, ref string message)
 {
     ScholarshipBDO sBDO = new ScholarshipBDO();
     TranslateScholarshipToScholarshipBDO(scholarship, sBDO);
     return sLogic.UpdateScholarship(ref sBDO, ref message);
 }
Esempio n. 10
0
 public bool CreateScholarship(ref Scholarship scholarship, ref string message)
 {
     ScholarshipBDO sbdo = new ScholarshipBDO();
     TranslateScholarshipToScholarshipBDO(scholarship, sbdo);
     return sLogic.CreateScholarship(ref sbdo, ref message);
 }