Exemplo n.º 1
0
 /// <summary>
 /// Method to Get StudentSponsor FeeTypes Entity
 /// </summary>
 /// <param name="argEn">StudentSponFeeTypes Entity is an Input.MatricNo as Input Property.</param>
 /// <returns>Returns StudentSponFeeTypes Entity</returns>
 public StuSponFeeTypesEn GetItem(StuSponFeeTypesEn argEn)
 {
     try
     {
         StuSponFeeTypesDAL loDs = new StuSponFeeTypesDAL();
         return(loDs.GetItem(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Method to Get StudentSponsor FeeTypes
 /// </summary>
 /// <param name="argEn">StuSponFeeTypes Entity as an Input.MatricNo as Input Property.</param>
 /// <returns>Returns StuSponFeeTypes Entity</returns>
 public List <StuSponFeeTypesEn> GetStuSpnFTList(StuSponFeeTypesEn argEn)
 {
     try
     {
         StuSponFeeTypesDAL loDs = new StuSponFeeTypesDAL();
         return(loDs.GetStuSponFTList(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 3
0
        /// <summary>
        /// Method to Update StudentSponsor FeeTypes
        /// </summary>
        /// <param name="argEn">StudentSponsor Entity is an Input.</param>
        /// <returns>Returns Boolean</returns>
        public bool Update(StuSponFeeTypesEn argEn)
        {
            bool flag;

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