Example #1
0
 public void TranslatetAssessBDOToAssess(StudentAssessmentBDO ab, StudentAssessment a)
 {
     a.StudentAssessmentId = ab.StudentAssessmentId;
     a.StudentSY = ab.StudentSY;
     a.FeeID = (int)ab.FeeID;
     a.Amount = (double)ab.Fee.Amount;
     a.ScholarshipDiscountId = (int)ab.DiscountId;
     if (ab.ScholarshipDiscount.Discount.HasValue)
         a.Discount = (float)ab.ScholarshipDiscount.Discount;
 }
Example #2
0
 public bool CreateStudentAssessment(StudentAssessment studAss)
 {
     throw new NotImplementedException();
 }
Example #3
0
        public List<StudentAssessment> GetStudentAssessment(string IDNum, string SY)
        {
            List<StudentAssessment> salist = new List<StudentAssessment>();
            List<StudentAssessmentBDO> sab = new List<StudentAssessmentBDO>();

            sab = sal.GetStudentAssessment(IDNum, SY);
            foreach (StudentAssessmentBDO s in sab)
            {
                StudentAssessment sa = new StudentAssessment();
                TranslatetAssessBDOToAssess(s, sa);
                salist.Add(sa);
            }

            return salist;
        }