Exemplo n.º 1
0
        /// <summary>
        /// This function Gets all the RefundApplication on the particular Village
        /// </summary>
        /// <param name="VillageCode">Village code , which village Data we want</param>
        /// <returns>returns  Datatable object i.e, RefundApplicationTable containing all the Refund Application on that village</returns>
        public RefundApplicationTable GetRefundApplicationByVillage(string VillageCode)
        {
            RefundApplicationTable Dt = new RefundApplicationTable();

            try
            {
                Dt = IgrssAdapters.RefundApplicationAdapter.GetRefundDetailsByVillage(VillageCode);
            }
            catch (Exception ex)
            {
                if (ExceptionPolicy.HandleException(ex, "DAL"))
                {
                    throw;
                }
            }
            return(Dt);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Getting All the Refund Application By RefundApplicationId

        /// </summary>
        /// <param name="RefundApplicationId">RefundApplicationId</param>
        /// <returns> datatable object containing all the records i.e,RefundApplicationTable </returns>
        public RefundApplicationTable GetAllRefundApplicationsById(Guid RefundApplicationId)
        {
            RefundApplicationTable Dt = new RefundApplicationTable();

            try
            {
                Dt = IgrssAdapters.RefundApplicationAdapter.GetRefundDetailsByApplicationId(RefundApplicationId);
            }
            catch (Exception ex)
            {
                if (ExceptionPolicy.HandleException(ex, "DAL"))
                {
                    throw;
                }
            }
            return(Dt);
        }
Exemplo n.º 3
0
        /// <summary>
        /// This function Gets all the Approved Refund
        /// </summary>
        /// <returns>returns  Datatable object i.e, RefundApplicationTable containing all the Approved Refund </returns>
        public RefundApplicationTable GetApprovedRefund()
        {
            RefundApplicationTable Dt = new RefundApplicationTable();

            try
            {
                Dt = IgrssAdapters.RefundApplicationAdapter.GetApproveRefund();
            }
            catch (Exception ex)
            {
                if (ExceptionPolicy.HandleException(ex, "DAL"))
                {
                    throw;
                }
            }
            return(Dt);
        }
Exemplo n.º 4
0
        /// <summary>
        /// This function  Gets all the RefundApplication Stamps
        /// </summary>
        /// <returns>A datatable object containing all the records present in the RefundApplication Table</returns>
        public RefundApplicationTable GetAllRefundApplication_Stamps_Acts()
        {
            RefundApplicationTable Dt = new RefundApplicationTable();

            try
            {
                return(IgrssAdapters.RefundApplicationAdapter.SelectRefundApplication_Stampdetails_Act());
            }
            catch (Exception ex)
            {
                if (ExceptionPolicy.HandleException(ex, "DAL"))
                {
                    throw;
                }
            }
            return(Dt);
        }
Exemplo n.º 5
0
 public RefundApplicationTable GetRefundDetailsByRefundNo(string RefundNo)
 {
     RefundApplicationTable Dt = new RefundApplicationTable();
     try
     {
         Dt = IgrssAdapters.RefundApplicationAdapter.GetRefundDetailsByRefundNo(RefundNo);
     }
     catch (Exception ex)
     {
         if (ExceptionPolicy.HandleException(ex, "DAL"))
             throw;
     }
     return Dt;
 }
Exemplo n.º 6
0
 /// <summary>
 /// This function Gets all the Approved Refund
 /// </summary>
 /// <returns>returns  Datatable object i.e, RefundApplicationTable containing all the Approved Refund </returns>
 public RefundApplicationTable GetApprovedRefund()
 {
     RefundApplicationTable Dt = new RefundApplicationTable();
     try
     {
         Dt = IgrssAdapters.RefundApplicationAdapter.GetApproveRefund();
     }
     catch (Exception ex)
     {
         if (ExceptionPolicy.HandleException(ex, "DAL"))
             throw;
     }
     return Dt;
 }
Exemplo n.º 7
0
 /// <summary>
 /// This function  Gets all the RefundApplication Stamps
 /// </summary>
 /// <returns>A datatable object containing all the records present in the RefundApplication Table</returns>
 public RefundApplicationTable GetAllRefundApplication_Stamps_Acts()
 {
     RefundApplicationTable Dt = new RefundApplicationTable();
     try
     {
         return IgrssAdapters.RefundApplicationAdapter.SelectRefundApplication_Stampdetails_Act();
     }
     catch (Exception ex)
     {
         if (ExceptionPolicy.HandleException(ex, "DAL"))
             throw;
     }
     return Dt;
 }
Exemplo n.º 8
0
 /// <summary>
 /// Getting All the Refund Application By RefundApplicationId
 /// </summary>
 /// <param name="RefundApplicationId">RefundApplicationId</param>
 /// <returns> datatable object containing all the records i.e,RefundApplicationTable </returns>
 public RefundApplicationTable GetAllRefundApplicationsById(Guid RefundApplicationId)
 {
     RefundApplicationTable Dt = new RefundApplicationTable();
     try
     {
         Dt = IgrssAdapters.RefundApplicationAdapter.GetRefundDetailsByApplicationId(RefundApplicationId);
     }
     catch (Exception ex)
     {
         if (ExceptionPolicy.HandleException(ex, "DAL"))
             throw;
     }
     return Dt;
 }