Пример #1
0
 /// <summary>
 /// Method to Get FeeStrAmount Entity
 /// </summary>
 /// <param name="argEn">FeeStrAmount Entity is an Input</param>
 /// <returns>Returns FeeStrAmount Entity</returns>
 public FeeStrAmountEn GetItem(FeeStrAmountEn argEn)
 {
     try
     {
         FeeStrAmountDAL loDs = new FeeStrAmountDAL();
         return(loDs.GetItem(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #2
0
 /// <summary>
 /// Method to Get List of FeeStrAmount
 /// </summary>
 /// <param name="argEn">FeeStrAmount Entity is an Input.</param>
 /// <returns>Returns List of FeeStrAmount</returns>
 public List <FeeStrAmountEn> GetList(FeeStrAmountEn argEn)
 {
     try
     {
         FeeStrAmountDAL loDs = new FeeStrAmountDAL();
         return(loDs.GetList(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #3
0
        /// <summary>
        /// Method to Update FeeStrAmount
        /// </summary>
        /// <param name="argEn">FeeStrAmount Entity is an Input.</param>
        /// <returns>Returns Boolean</returns>
        public bool Update(FeeStrAmountEn argEn)
        {
            bool flag;

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