Exemplo n.º 1
0
 /// <summary>
 /// Method to Get Student Allocations
 /// </summary>
 /// <param name="argEn">AccountDetails Entity is an Input.TransactionID is an Input Property</param>
 /// <returns>Returns List of AccountsDetails Entities</returns>
 public List <AccountsDetailsEn> GetInActiveStuDentAllocation(AccountsDetailsEn argEn)
 {
     try
     {
         AccountsDetailsDAL loDs = new AccountsDetailsDAL();
         return(loDs.GetInActiveStuDentAllocation(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Method to Get Student AccountDetails
 /// </summary>
 /// <param name="argEn">AccountsDetails Entity is an Input.TransactionId is an Input Property</param>
 /// <returns>Returns List Of AccountDetails Entities</returns>
 public List <AccountsDetailsEn> GetStudentAccountsDetails(AccountsDetailsEn argEn)
 {
     try
     {
         AccountsDetailsDAL loDs = new AccountsDetailsDAL();
         return(loDs.GetStudentAccountsDetails(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// Method to Get Student Sponsor Invoice AccountsDetails
 /// </summary>
 /// <param name="argEn">AccountsDetails Entity is an Input.TransactionId is an Input Property</param>
 /// <returns>Returns List Of AccountDetails Entities</returns>
 public List <AccountsDetailsEn> GetStudentSponsorInvoiceAccountsDetailsByBatchCode(AccountsEn argEn)
 {
     try
     {
         AccountsDetailsDAL loDs = new AccountsDetailsDAL();
         return(loDs.GetStudentSponsorInvoiceAccountsDetailsByBatchCode(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 4
0
 /// <summary>
 /// Method to Get an AccountsDetails Entity
 /// </summary>
 /// <param name="argEn">AccountDetails Entity is an Input</param>
 /// <returns>Returns AccountDetails Entity</returns>
 public AccountsDetailsEn GetItem(AccountsDetailsEn argEn)
 {
     try
     {
         AccountsDetailsDAL loDs = new AccountsDetailsDAL();
         return(loDs.GetItem(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 5
0
 /// <summary>
 /// Method to Get Student AccountDetails
 /// </summary>
 /// <param name="argEn">AccountsDetails Entity is an Input.TransactionId is an Input Property</param>
 /// <returns>Returns List Of AccountDetails Entities</returns>
 //public List<AccountsDetailsEn> GetStudentAccountsDetailsByBatchCode(AccountsEn argEn)
 //{
 //    try
 //    {
 //        AccountsDetailsDAL loDs = new AccountsDetailsDAL();
 //        return loDs.GetStudentAccountsDetailsByBatchCode(argEn);
 //    }
 //    catch (Exception ex)
 //    {
 //        throw ex;
 //    }
 //}
 public List <AccountsDetailsEn> GetStudentAccountsDetailsByBatchCode(AccountsEn argEn, String m_no)
 {
     try
     {
         AccountsDetailsDAL loDs = new AccountsDetailsDAL();
         return(loDs.GetStudentAccountsDetailsByBatchCode(argEn, m_no));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 6
0
 /// <summary>
 /// Method to Get Student AccountDetails
 /// </summary>
 /// <param name="argEn">AccountsDetails Entity is an Input.TransactionId is an Input Property</param>
 /// <returns>Returns List Of AccountDetails Entities</returns>
 public List <AccountsDetailsEn> GetListStudentSponsorAlloc(string batchNo)
 {
     try
     {
         AccountsDetailsDAL loDs  = new AccountsDetailsDAL();
         AccountsDetailsEn  argEn = new AccountsDetailsEn();
         return(loDs.GetListStudentSponsorAlloc(batchNo));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 7
0
        /// <summary>
        /// Method to Delete
        /// </summary>
        /// <param name="argEn">AccountsDetails Entity is an Input.</param>
        /// <returns>Returns Boolean</returns>
        public bool Delete(AccountsDetailsEn argEn)
        {
            bool flag;

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