示例#1
0
 /// <summary>
 /// Method to Get FeeStructure Entity
 /// </summary>
 /// <param name="argEn">FeeStructure Entity is an Input</param>
 /// <returns>Returns FeeStructure Entity</returns>
 public FeeStructEn GetItem(FeeStructEn argEn)
 {
     try
     {
         FeeStructDAL loDs = new FeeStructDAL();
         return(loDs.GetItem(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
示例#2
0
 /// <summary>
 /// Method to Get List of Active or Inactive FeeStucture BY StudentCategory
 /// </summary>
 /// <param name="argEn">FeeStucture Entity is an Input.FeeStryctureCode,PGCode,EffectFm and Status are Input Properties</param>
 /// <returns></returns>
 public List <FeeStructEn> GetFeeStructureList(FeeStructEn argEn)
 {
     try
     {
         FeeStructDAL loDs = new FeeStructDAL();
         return(loDs.GetFeeStructureList(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
示例#3
0
        /// <summary>
        /// Method to Insert FeeStructure
        /// </summary>
        /// <param name="argEn">FeeStructure Entity is an Input.</param>
        /// <returns>Returns Boolean</returns>
        public bool Insert(FeeStructEn argEn)
        {
            bool flag;

            using (TransactionScope ts = new TransactionScope())
            {
                try
                {
                    FeeStructDAL loDs = new FeeStructDAL();
                    flag = loDs.Insert(argEn);
                    ts.Complete();
                }
                catch (Exception ex)
                {
                    throw ex;
                }
            }
            return(flag);
        }