Esempio n. 1
0
 public FeeHelper(API.LABURNUM.COM.Fee fee)
 {
     if (fee == null)
     {
         throw new Exception(API.LABURNUM.COM.Component.Constants.ERRORMESSAGES.PARAMETER_CANNOT_BE_NULL);
     }
     ;
     this.Fees = new List <API.LABURNUM.COM.Fee>();
     this.Fees.Add(fee);
 }
Esempio n. 2
0
 private DTO.LABURNUM.COM.FeeModel MapCore(API.LABURNUM.COM.Fee fee)
 {
     DTO.LABURNUM.COM.FeeModel dtoFee = new DTO.LABURNUM.COM.FeeModel()
     {
         FeeId               = fee.FeeId,
         AdmissionTypeId     = fee.AdmissionTypeId,
         AnnualCharges       = fee.AnnualCharges,
         DevelopementCharges = fee.DevelopementCharges,
         AdmissionFee        = fee.AdmissionFee,
         ExamFee             = fee.ExamFee,
         MonthlyFee          = fee.MonthlyFee,
         SportsFee           = fee.SportsFee,
         ClassId             = fee.ClassId,
         CreatedOn           = fee.CreatedOn,
         IsActive            = fee.IsActive,
         LastUpdated         = fee.LastUpdated
     };
     return(dtoFee);
 }