Beispiel #1
0
 /// <summary>
 /// Method to Get FeeStrDetails Entity
 /// </summary>
 /// <param name="argEn">FeeStrDetails Entity is an Input</param>
 /// <returns>Returns FeeStrDetails Entity</returns>
 public FeeStrDetailsEn GetItem(FeeStrDetailsEn argEn)
 {
     try
     {
         FeeStrDetailsDAL loDs = new FeeStrDetailsDAL();
         return(loDs.GetItem(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #2
0
 /// <summary>
 /// Method to Get List of FeeStrDetails
 /// </summary>
 /// <param name="argEn">FeeStrDetails Entity is an Input.</param>
 /// <returns>Returns List of FeeStrDetails</returns>
 public List <FeeStrDetailsEn> GetList(FeeStrDetailsEn argEn)
 {
     try
     {
         FeeStrDetailsDAL loDs = new FeeStrDetailsDAL();
         return(loDs.GetList(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #3
0
        /// <summary>
        /// Method to Upate FeeStrDetails
        /// </summary>
        /// <param name="argEn">FeeStrDetails Entity is an Input.</param>
        /// <returns>Returns Boolean</returns>
        public bool Update(FeeStrDetailsEn argEn)
        {
            bool flag;

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