Exemplo 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));
        }
Exemplo 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));
        }
Exemplo 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;
 }
Exemplo 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;
 }
Exemplo 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;
 }
Exemplo 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);
        }
Exemplo 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;
 }
Exemplo 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;
 }
Exemplo 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);
 }
Exemplo 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);
 }